Skip to content

Commit 105b40f

Browse files
committed
start adding tests
1 parent 9e2e53c commit 105b40f

File tree

41 files changed

+1656
-328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1656
-328
lines changed

angular.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,19 @@
114114
"test": {
115115
"builder": "@angular-devkit/build-angular:karma",
116116
"options": {
117-
"main": "src/test.ts",
118-
"polyfills": "src/polyfills.ts",
117+
"polyfills": ["zone.js", "zone.js/testing"],
119118
"tsConfig": "tsconfig.spec.json",
120119
"karmaConfig": "karma.conf.js",
121120
"inlineStyleLanguage": "scss",
122121
"assets": [
123122
"src/favicon.ico",
124123
"src/assets"
125124
],
125+
"stylePreprocessorOptions": {
126+
"includePaths": [
127+
"src/assets/styles"
128+
]
129+
},
126130
"styles": [
127131
"src/assets/styles/easyMDE.min.css",
128132
"src/styles.scss",
@@ -137,5 +141,8 @@
137141
}
138142
}
139143
}
144+
},
145+
"cli": {
146+
"analytics": false
140147
}
141148
}

karma.conf.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ module.exports = function (config) {
1313
require('@angular-devkit/build-angular/plugins/karma')
1414
],
1515
client: {
16-
jasmine: {
17-
// you can add configuration options for Jasmine here
18-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19-
// for example, you can disable the random execution with `random: false`
20-
// or set a specific seed with `seed: 4321`
21-
},
2216
clearContext: false // leave Jasmine Spec Runner output visible in browser
2317
},
2418
jasmineHtmlReporter: {

0 commit comments

Comments
 (0)