Skip to content

Commit e7d3311

Browse files
committed
Explicitly setting files for karma
1 parent 1e131bb commit e7d3311

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

testing/unit/main/index.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

testing/unit/main/karma-main.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ module.exports = (config) => {
88
autoWatch: true,
99
singleRun: true,
1010

11-
files: ['./index.js'],
11+
files: ['specs/**/*.spec.js'],
1212

1313
client: {
1414
useIframe: false
1515
},
1616

1717
frameworks: ['mocha', 'chai'],
1818
preprocessors: {
19-
'./index.js': ['webpack', 'electron', 'sourcemap']
19+
'specs/**/*.spec.js': ['webpack', 'electron', 'sourcemap']
2020
},
2121

2222
webpack: {

testing/unit/renderer/index.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

testing/unit/renderer/karma-renderer.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ module.exports = (config) => {
88
autoWatch: true,
99
singleRun: true,
1010

11-
files: ['./index.js'],
11+
files: ['specs/**/*.spec.js'],
1212

1313
client: {
1414
useIframe: false
1515
},
1616

1717
frameworks: ['mocha', 'chai'],
1818
preprocessors: {
19-
'./index.js': ['webpack', 'sourcemap']
19+
'specs/**/*.spec.js': ['webpack', 'sourcemap']
2020
},
2121

2222
webpack: {

0 commit comments

Comments
 (0)