Skip to content

Commit 25dd1cc

Browse files
pndewitniieani
authored andcommitted
feat(typescript-webpack): added Wallaby support for skeleton-typescript-webpack (aurelia#722)
1 parent d0f6c31 commit 25dd1cc

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

skeleton-typescript-webpack/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
"ts-node": "^1.7.0",
131131
"typescript": "^2.1",
132132
"wait-on": "^2.0.1",
133+
"wallaby-webpack": "0.0.26",
133134
"webpack": "2.1.0-beta.27",
134135
"webpack-dev-server": "2.1.0-beta.11"
135136
}
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
var wallabyWebpack = require('wallaby-webpack');
2+
var wallabyPostprocessor = wallabyWebpack({});
3+
4+
module.exports = function (wallaby) {
5+
return {
6+
files: [
7+
{pattern: 'node_modules/bluebird/js/browser/bluebird.js', instrument: false},
8+
{pattern: 'src/**/*.ts', load: false},
9+
{pattern: 'test/unit/setup.ts', load: false}
10+
],
11+
tests: [
12+
{pattern: 'test/unit/**/*.spec.ts', load: false}
13+
],
14+
15+
postprocessor: wallabyPostprocessor,
16+
17+
bootstrap: function () {
18+
window.__moduleBundler.loadTests();
19+
}
20+
};
21+
};

0 commit comments

Comments
 (0)