build single test bunding using Webpack context

This commit is contained in:
alecmerdler 2017-03-11 16:48:05 -08:00
parent b72cf7c04b
commit ade4216642
8 changed files with 81 additions and 31 deletions

View file

@ -0,0 +1,6 @@
declare var require: any;
// Require all modules ending in ".spec.ts" from the js directory and all subdirectories
var testsContext = require.context("../js", true, /\.spec\.ts$/);
testsContext.keys().forEach(testsContext);