Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
"lint": {
"dependsOn": ["build", "root:build:tsc"],
"cache": true
},
"test:unit": {
"dependsOn": ["build", "^build"],
"cache": true
},
"test:integration": {
"dependsOn": ["build", "^build", "test:unit"],
"cache": true
}
}
}
2 changes: 1 addition & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"start": "webpack serve --open --config webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"test": "npm run test:unit && npm run test:integration",
"test": "nx run-many --target=test:unit,test:integration mutation-testing-elements",
"test:unit": "karma start --single-run",
"test:unit:debug": "karma start --browsers ChromeHeadlessDebug",
"test:integration": "mocha --config ./test/integration/.mocharc.cjs",
Expand Down