Skip to content

Commit

Permalink
Add npm scripts for different test kinds.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Oct 27, 2020
1 parent 18affb1 commit f5cf1a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ node_js:
- "12"
- "14"
- "node"

script:
- npm run build
- npm run lint
- npm run validate
- npm run test
- .travis/validate-package.sh
- sh test/system/run-solid-test-suite.sh
- npm run test:integration
- npm run test:unit
- npm run test:system
- npm run test:deploy

after_success:
- npm run coveralls
cache: npm
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@
"lint": "eslint . --ext .ts --cache",
"prepare": "npm run build",
"start": "node ./bin/server.js -p 3000",
"test": "jest",
"test": "npm run jest",
"jest": "jest",
"test:unit": "jest test/unit",
"test:integration": "jest --coverageThreshold '{}' test/integration",
"test:system": "test/system/run-solid-test-suite.sh",
"test:deploy": "test/deploy/validate-package.sh",
"validate": "componentsjs-compile-config urn:solid-server:default -c config/config-default.json -f > /dev/null",
"version": "manual-git-changelog onversion",
"watch": "nodemon --watch \"src/**/*.js\" --watch \"bin/**/*.js\" --exec npm start"
Expand Down
File renamed without changes.

0 comments on commit f5cf1a8

Please sign in to comment.