File tree 3 files changed +16
-8
lines changed
3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 56
56
" clients/*"
57
57
],
58
58
"nohoist" : [
59
- " **/karma" ,
60
- " **/karma/**" ,
61
- " **/karma-*" ,
62
- " **/karma-*/**"
59
+ " **/karma*" ,
60
+ " **/karma*/**"
63
61
]
64
62
},
65
63
"husky" : {
Original file line number Diff line number Diff line change @@ -48,9 +48,13 @@ module.exports = function(config) {
48
48
// enable / disable watching file and executing tests whenever any file changes
49
49
autoWatch : false ,
50
50
51
- // start these browsers
52
- // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
53
- browsers : [ "ChromeHeadless" ] ,
51
+ browsers : [ "ChromeHeadlessNoSandbox" ] ,
52
+ customLaunchers : {
53
+ ChromeHeadlessNoSandbox : {
54
+ base : "ChromeHeadless" ,
55
+ flags : [ "--no-sandbox" ]
56
+ }
57
+ } ,
54
58
55
59
// Continuous Integration mode
56
60
// if true, Karma captures browsers, runs the tests and exits
Original file line number Diff line number Diff line change @@ -8,7 +8,13 @@ module.exports = function(config) {
8
8
"**/*.ts" : "karma-typescript"
9
9
} ,
10
10
reporters : [ "progress" , "karma-typescript" ] ,
11
- browsers : [ "ChromeHeadless" ] ,
11
+ browsers : [ "ChromeHeadlessNoSandbox" ] ,
12
+ customLaunchers : {
13
+ ChromeHeadlessNoSandbox : {
14
+ base : "ChromeHeadless" ,
15
+ flags : [ "--no-sandbox" ]
16
+ }
17
+ } ,
12
18
karmaTypescriptConfig : {
13
19
tsconfig : "./tsconfig.json" ,
14
20
bundlerOptions : {
You can’t perform that action at this time.
0 commit comments