Skip to content

Commit 3d59b03

Browse files
committed
Update node packages
1 parent 5415289 commit 3d59b03

File tree

5 files changed

+5862
-18315
lines changed

5 files changed

+5862
-18315
lines changed

angular.json

+5-13
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
"node_modules/quill/dist/quill.core.css",
4848
"node_modules/quill/dist/quill.snow.css"
4949
],
50-
"scripts": [
51-
"node_modules/quill/dist/quill.js"
52-
],
50+
"scripts": ["node_modules/quill/dist/quill.js"],
5351
"serviceWorker": true,
5452
"ngswConfigPath": "ngsw-config.json"
5553
},
@@ -103,8 +101,7 @@
103101
"test": {
104102
"builder": "@angular-devkit/build-angular:karma",
105103
"options": {
106-
"main": "src/test.ts",
107-
"polyfills": "src/polyfills.ts",
104+
"polyfills": ["zone.js", "zone.js/testing"],
108105
"tsConfig": "tsconfig.spec.json",
109106
"karmaConfig": "karma.conf.js",
110107
"assets": [
@@ -114,19 +111,14 @@
114111
"src/assets",
115112
"src/manifest.webmanifest"
116113
],
117-
"styles": [
118-
"src/styles.scss"
119-
],
114+
"styles": ["src/styles.scss"],
120115
"scripts": []
121116
}
122117
},
123118
"lint": {
124119
"builder": "@angular-eslint/builder:lint",
125120
"options": {
126-
"lintFilePatterns": [
127-
"src/**/*.ts",
128-
"src/**/*.html"
129-
]
121+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
130122
}
131123
},
132124
"e2e": {
@@ -163,4 +155,4 @@
163155
}
164156
}
165157
}
166-
}
158+
}

karma.conf.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ module.exports = function (config) {
4444
colors: true,
4545
logLevel: config.LOG_INFO,
4646
autoWatch: true,
47-
browsers: ["Chrome"],
47+
browsers: ["Chrome", "ChromeHeadless", "ChromeHeadlessCI"],
48+
customLaunchers: {
49+
ChromeHeadlessCI: {
50+
base: "ChromeHeadless",
51+
flags: ["--no-sandbox"],
52+
},
53+
},
4854
singleRun: false,
4955
restartOnFileChange: true,
5056
});

0 commit comments

Comments
 (0)