We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695182a commit 37e3d77Copy full SHA for 37e3d77
aws-distro-opentelemetry-node-autoinstrumentation/test/otlp-aws-span-exporter.test.ts
@@ -18,7 +18,10 @@ const EXPECTED_AUTH_SECURITY_TOKEN = 'test_token';
18
19
const nodeVersion = getNodeVersion();
20
21
-if (nodeVersion >= 16) {
+/* istanbul ignore if */
22
+if (nodeVersion < 16) {
23
+ it.skip(`Skipping tests - Node.js version ${nodeVersion} is below required version 16`, () => {});
24
+} else {
25
describe('OTLPAwsSpanExporter', () => {
26
let sandbox: sinon.SinonSandbox;
27
let scope: nock.Scope;
@@ -167,6 +170,4 @@ if (nodeVersion >= 16) {
167
170
await exporter.export([], () => {});
168
171
});
169
172
-} else {
- it.skip(`Skipping tests - Node.js version ${nodeVersion} is below required version 16`, () => {});
173
}
0 commit comments