Updated test script

This commit is contained in:
delvedor
2020-09-03 17:35:03 +02:00
parent ea582dd231
commit c82ac4f5aa
2 changed files with 1 additions and 5 deletions

View File

@ -61,10 +61,6 @@ jobs:
run: |
npm install
- name: Build
run: |
npm run build:ts
- name: Test
run: |
npm run test:dsl

View File

@ -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",