Skip to content

Commit 76b1d72

Browse files
committed
move done
1 parent e3ac125 commit 76b1d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-distro-opentelemetry-node-autoinstrumentation/test/exporter/otlp/aws/common/otlp-aws-base-exporter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ export abstract class OTLPAwsBaseExporterTest {
148148
expect(result.code).toBe(ExportResultCode.SUCCESS);
149149
expect(serializeStub.callCount).toBe(1);
150150
expect(gzipStub.callCount).toBe(1);
151-
done();
152151
})
153152
.then(() => {
154153
this.scope.on('request', (req, interceptor, body) => {
155154
this.assertHeaders(req.headers);
156155
expect(req.headers['content-encoding']).toBe('gzip');
156+
done();
157157
});
158158
});
159159
}

0 commit comments

Comments
 (0)