Skip to content

Commit

Permalink
Update node packages
Browse files Browse the repository at this point in the history
  • Loading branch information
orbanszlrd committed Apr 3, 2023
1 parent 5415289 commit 3d59b03
Show file tree
Hide file tree
Showing 5 changed files with 5,862 additions and 18,315 deletions.
18 changes: 5 additions & 13 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
"node_modules/quill/dist/quill.core.css",
"node_modules/quill/dist/quill.snow.css"
],
"scripts": [
"node_modules/quill/dist/quill.js"
],
"scripts": ["node_modules/quill/dist/quill.js"],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
},
Expand Down Expand Up @@ -103,8 +101,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
Expand All @@ -114,19 +111,14 @@
"src/assets",
"src/manifest.webmanifest"
],
"styles": [
"src/styles.scss"
],
"styles": ["src/styles.scss"],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"e2e": {
Expand Down Expand Up @@ -163,4 +155,4 @@
}
}
}
}
}
8 changes: 7 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ["Chrome"],
browsers: ["Chrome", "ChromeHeadless", "ChromeHeadlessCI"],
customLaunchers: {
ChromeHeadlessCI: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
},
singleRun: false,
restartOnFileChange: true,
});
Expand Down
Loading

0 comments on commit 3d59b03

Please sign in to comment.