Skip to content

Commit a25e30a

Browse files
legendecasdyladan
andauthored
test: add esModuleInterop compatibility test (#2506)
Co-authored-by: Daniel Dyla <[email protected]>
1 parent 9ac1d8e commit a25e30a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

experimental/backwards-compatability/node10/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
66
"main": "index.js",
77
"scripts": {
8-
"test:backcompat": "tsc --noEmit index.ts"
8+
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
99
},
1010
"dependencies": {
1111
"@opentelemetry/sdk-node": "0.25.0",

experimental/backwards-compatability/node12/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
66
"main": "index.js",
77
"scripts": {
8-
"test:backcompat": "tsc --noEmit index.ts"
8+
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
99
},
1010
"dependencies": {
1111
"@opentelemetry/sdk-node": "0.25.0",

experimental/backwards-compatability/node8/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Backwards compatability app for node8 types and the OpenTelemetry Node.js SDK",
66
"main": "index.js",
77
"scripts": {
8-
"test:backcompat": "tsc --noEmit index.ts"
8+
"test:backcompat": "tsc --noEmit index.ts && tsc --noEmit --esModuleInterop index.ts"
99
},
1010
"dependencies": {
1111
"@opentelemetry/sdk-node": "0.25.0",

0 commit comments

Comments
 (0)