Skip to content

Commit a250be7

Browse files
committed
fixed build and coverage
1 parent f6d3351 commit a250be7

2 files changed

Lines changed: 282 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"plugins:dev": "yarn --cwd examples/with-plugins dev",
2323
"whatwg:build": "yarn --cwd examples/with-whatwg build",
2424
"whatwg:dev": "yarn --cwd examples/with-whatwg dev",
25-
"report": "nyc yarn test && nyc report -r lcov",
25+
"report": "yarn report:env nyc yarn test && nyc report -r lcov",
26+
"report:env": "NODE_OPTIONS=\"--disable-warning=ExperimentalWarning --experimental-loader @istanbuljs/esm-loader-hook\"",
2627
"test": "yarn --cwd ingest test"
2728
},
2829
"devDependencies": {
30+
"@istanbuljs/esm-loader-hook": "0.3.0",
2931
"nyc": "17.1.0"
3032
}
3133
}

0 commit comments

Comments
 (0)