Add tests to ensure options are not accidentally modified

This commit is contained in:
Tim Trinidad
2018-01-23 13:22:48 -05:00
parent 526a0883a2
commit f196604d73
3 changed files with 37 additions and 1 deletions

View File

@@ -38,7 +38,7 @@
"lint": "jscs . && jshint . --exclude-path .gitignore",
"standalone": "browserify index.js --standalone Pjax > pjax.js",
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
"tests": "tape -r ./tests/setup.js ./tests/**/*.js",
"tests": "tape -r ./tests/setup.js ./tests/lib/*.js ./tests/lib/proto/*.js",
"test": "npm run lint && npm run tests | tap-spec",
"coverage-tests": "npm run tests | tap-nyc",
"coverage": "nyc -x \"tests/**\" npm run coverage-tests",