Updated test script
This commit is contained in:
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
@ -61,10 +61,6 @@ jobs:
|
||||
run: |
|
||||
npm install
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm run build:ts
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
npm run test:dsl
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
"test:coverage-100": "tap test/{unit,acceptance}/{*,**/*}.test.js --coverage --100 --nyc-arg=\"--exclude=api\"",
|
||||
"test:coverage-report": "tap test/{unit,acceptance}/{*,**/*}.test.js --coverage --nyc-arg=\"--exclude=api\" && nyc report --reporter=text-lcov > coverage.lcov",
|
||||
"test:coverage-ui": "tap test/{unit,acceptance}/{*,**/*}.test.js --coverage --coverage-report=html --nyc-arg=\"--exclude=api\"",
|
||||
"test:dsl": "npm run lint:dsl && tap --ts test/dsl/*.test.ts",
|
||||
"test:dsl": "npm run lint:dsl && npm run build:ts && tap --ts test/dsl/*.test.ts",
|
||||
"lint": "standard",
|
||||
"lint:dsl": "standardx --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin dsl/src/*.ts dsl/examples/*.ts",
|
||||
"lint:fix": "standard --fix",
|
||||
|
||||
Reference in New Issue
Block a user