Skip to content

Commit

Permalink
Simplify test:readme
Browse files Browse the repository at this point in the history
We no longer need --harmony-top-level-await, so we also no longer need
to try running Node twice. Part of #25.
  • Loading branch information
lucaswerkmeister committed Jun 10, 2023
1 parent d12f875 commit d0d45d3
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 @@ -11,7 +11,7 @@
"test:unit": "mocha test/unit/",
"test:node": "mocha test/integration/node.test.js",
"test:browser": "mocha test/integration/browser.test.js # #23",
"test:readme": "sed -n '/```/,/```/ { /```$/q; /```/n; p; }' README.md | { node --input-type=module --harmony-top-level-await || node --input-type=module; }",
"test:readme": "sed -n '/```/,/```/ { /```$/q; /```/n; p; }' README.md | node --input-type=module",
"doc": "jsdoc -c jsdoc/conf.json"
},
"homepage": "https://github.com/lucaswerkmeister/m3api#readme",
Expand Down

0 comments on commit d0d45d3

Please sign in to comment.