Skip to content

Commit ad259e6

Browse files
committed
Fix incorrect processing of tests in a repo root / cwd
1 parent 30854ac commit ad259e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/configure.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ export default function configure(options) {
143143
}) ),
144144

145145
preprocessors: {
146-
[rootFiles+'/**/*']: ['webpack']
146+
[rootFiles+'/**/*']: ['webpack'],
147+
[rootFiles]: ['webpack']
147148
},
148149

149150
webpack: {
@@ -156,6 +157,7 @@ export default function configure(options) {
156157
},
157158
resolve: webpackProp('resolve', {
158159
modules: webpackProp('resolve.modules', [
160+
'node_modules',
159161
path.resolve(__dirname, '../node_modules')
160162
]),
161163
alias: webpackProp('resolve.alias', {

0 commit comments

Comments
 (0)