Skip to content

Commit

Permalink
test: add esModuleInterop compatibility test (#2506)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
  • Loading branch information
legendecas and dyladan committed Sep 30, 2021
1 parent 9ac1d8e commit a25e30a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion experimental/backwards-compatability/node10/package.json
Expand Up @@ -5,7 +5,7 @@
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
"main": "index.js",
"scripts": {
"test:backcompat": "tsc --noEmit index.ts"
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
},
"dependencies": {
"@opentelemetry/sdk-node": "0.25.0",
Expand Down
2 changes: 1 addition & 1 deletion experimental/backwards-compatability/node12/package.json
Expand Up @@ -5,7 +5,7 @@
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
"main": "index.js",
"scripts": {
"test:backcompat": "tsc --noEmit index.ts"
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
},
"dependencies": {
"@opentelemetry/sdk-node": "0.25.0",
Expand Down
2 changes: 1 addition & 1 deletion experimental/backwards-compatability/node8/package.json
Expand Up @@ -5,7 +5,7 @@
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
"main": "index.js",
"scripts": {
"test:backcompat": "tsc --noEmit index.ts"
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
},
"dependencies": {
"@opentelemetry/sdk-node": "0.25.0",
Expand Down

0 comments on commit a25e30a

Please sign in to comment.