Skip to content

Commit

Permalink
get perf tests running again by passing flag to mocha-chrome to allow…
Browse files Browse the repository at this point in the history
… fetch access from file://.
  • Loading branch information
botandrose-machine committed Dec 10, 2024
1 parent 80849d8 commit 5a8ee48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"module": "dist/idiomorph.esm.js",
"unpkg": "dist/idiomorph.min.js",
"scripts": {
"test": "mocha-chrome test/index.html",
"test": "mocha-chrome test/index.html --chrome-flags '[\"--allow-file-access-from-files\"]'",
"amd": "(echo \"define(() => {\n\" && cat src/idiomorph.js && echo \"\nreturn Idiomorph});\") > dist/idiomorph.amd.js",
"cjs": "(cat src/idiomorph.js && echo \"\nmodule.exports = Idiomorph;\") > dist/idiomorph.cjs.js",
"esm": "(cat src/idiomorph.js && echo \"\nexport {Idiomorph};\") > dist/idiomorph.esm.js",
Expand Down

0 comments on commit 5a8ee48

Please sign in to comment.