Skip to content

Commit

Permalink
fix: test with updated import-in-the-middle hook
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Dec 19, 2023
1 parent 9816c26 commit 9561b2e
Show file tree
Hide file tree
Showing 6 changed files with 4,218 additions and 4,881 deletions.
9,086 changes: 4,211 additions & 4,875 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/opentelemetry-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@opentelemetry/resources": "^1.8.0",
"@opentelemetry/sdk-node": "^0.46.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",
"@opentelemetry/semantic-conventions": "^1.0.0"
"@opentelemetry/semantic-conventions": "^1.0.0",
"import-in-the-middle": "^1.7.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ describe('fastify', () => {
argv: ['fixtures/use-fastify.mjs'],
env: {
NODE_OPTIONS:
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
'--experimental-loader=import-in-the-middle/hook.mjs',
NODE_NO_WARNINGS: '1',
},
checkResult: (err, stdout, stderr) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ describe('ioredis', () => {
argv: ['fixtures/use-ioredis.mjs', REDIS_URL],
env: {
NODE_OPTIONS:
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
'--experimental-loader=import-in-the-middle/hook.mjs',
NODE_NO_WARNINGS: '1',
},
checkResult: (err, stdout, stderr) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ describe('Koa Instrumentation', () => {
argv: ['fixtures/use-koa.mjs'],
env: {
NODE_OPTIONS:
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
'--experimental-loader=import-in-the-middle/hook.mjs',
NODE_NO_WARNINGS: '1',
},
checkResult: (err, stdout, stderr) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('PinoInstrumentation', () => {
argv: ['fixtures/use-pino-default-import.mjs'],
env: {
NODE_OPTIONS:
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
'--experimental-loader=import-in-the-middle/hook.mjs',
NODE_NO_WARNINGS: '1',
},
checkResult: (err, stdout, _stderr) => {
Expand Down Expand Up @@ -349,7 +349,7 @@ describe('PinoInstrumentation', () => {
argv: ['fixtures/use-pino-named-import.mjs'],
env: {
NODE_OPTIONS:
'--experimental-loader=@opentelemetry/instrumentation/hook.mjs',
'--experimental-loader=import-in-the-middle/hook.mjs',
NODE_NO_WARNINGS: '1',
},
checkResult: (err, stdout, _stderr) => {
Expand Down

0 comments on commit 9561b2e

Please sign in to comment.