Skip to content

Commit 9d4387e

Browse files
committed
Run tests without codePointAt to exercise fallbacks
1 parent a14dc79 commit 9d4387e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
55
"build": "eslint src && pulp build -- --censor-lib --strict",
6-
"test": "pulp test",
6+
"test": "pulp test && npm run test:run:without_codePointAt",
7+
"test:run:without_codePointAt": "node -e \"delete String.prototype.codePointAt; require('./output/Test.Main/index.js').main();\"",
78
"bench:build": "purs compile 'bench/**/*.purs' 'src/**/*.purs' 'bower_components/*/src/**/*.purs'",
89
"bench:run": "node --expose-gc -e 'require(\"./output/Bench.Main/index.js\").main()'",
910
"bench": "npm run bench:build && npm run bench:run"

0 commit comments

Comments
 (0)