Skip to content

Instantly share code, notes, and snippets.

@lydemann lydemann/angular.json Secret

Created Jul 9, 2018
Embed
What would you like to do?
angular.json tests configs
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/zone.js/dist/zone-testing.js"
],
"styles": [
"node_modules/css-spaces/dist/spaces.min.css",
"src/styles.scss"
],
"assets": [
"src/assets",
"src/favicon.ico"
],
"watch": false,
"codeCoverage": true
},
"configurations": {
"unit": {
"main": "src/test.unit.ts",
"tsConfig": "src/tsconfig.unit.spec.json"
},
"unit-watch": {
"main": "src/test.unit.ts",
"tsConfig": "src/tsconfig.unit.spec.json",
"watch": true
},
"integration": {
"main": "src/test.integration.ts",
"tsConfig": "src/tsconfig.spec.json"
},
"integration-watch": {
"main": "src/test.integration.ts",
"tsConfig": "src/tsconfig.spec.json",
"watch": true
},
"all-watch": {
"main": "src/test.ts",
"tsConfig": "src/tsconfig.spec.json",
"watch": true
},
"production": {
"karmaConfig": "./karma-ci.conf.js",
"progress": false
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"typeCheck": true,
"fix": true,
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.