Skip to content

Commit dca259f

Browse files
Merge branch 'type-webpack-wallaby' of https://github.com/manuel-guilbault/skeleton-navigation into manuel-guilbault-type-webpack-wallaby
2 parents e34119b + 5e03cf5 commit dca259f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

skeleton-typescript-webpack/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"ts-node": "^0.7.2",
7070
"typescript": "^1.8.7",
7171
"url-loader": "^0.5.7",
72+
"wallaby-webpack": "0.0.22",
7273
"webpack": "^1.12.14",
7374
"webpack-dev-server": "^1.14.1"
7475
}
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* eslint-disable no-var, no-shadow, dot-notation */
2+
var wallabyWebpack = require('wallaby-webpack');
3+
var wallabyPostprocessor = wallabyWebpack({});
4+
5+
module.exports = function(wallaby) {
6+
return {
7+
files: [
8+
{ pattern: 'src/**/*.ts', load: false },
9+
{ pattern: 'test/unit/setup.ts', load: false }
10+
],
11+
12+
tests: [
13+
{ pattern: 'test/unit/**/*.spec.ts', load: false }
14+
],
15+
16+
postprocessor: wallabyPostprocessor,
17+
18+
setup: function() {
19+
window.__moduleBundler.loadTests();
20+
},
21+
22+
debug: false
23+
};
24+
};

0 commit comments

Comments
 (0)