Skip to content

Commit ffa10ad

Browse files
committed
build: update test script to use headless chrome
1 parent 86017ed commit ffa10ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lint:demo": "eslint \"projects/mat-datatable-demo\"",
1616
"lint:scss": "stylelint \"**/*.scss\"",
1717
"lint:commits": "commitlint --from 81ad0b8fb70526 --to HEAD --verbose",
18-
"test": "npm run test:lib -- --watch=false && npm run test:demo -- --watch=false",
18+
"test": "npm run test:lib -- --watch=false --browsers=ChromeHeadless && npm run test:demo -- --watch=false --browsers=ChromeHeadless",
1919
"test:lib": "ng test mat-datatable-lib",
2020
"test:demo": "ng test mat-datatable-demo",
2121
"test:lib:coverage:ui": "set BROWSERSLIST_IGNORE_OLD_DATA=1 && ng test mat-datatable-lib --code-coverage --no-watch && node tools/open-coverage.mjs",

0 commit comments

Comments
 (0)