add support for picking up all .ts files in .test/
This commit is contained in:
parent
9b595e75cd
commit
ebc3cb70ff
2
dist/mod02/index.js
vendored
2
dist/mod02/index.js
vendored
@ -47,7 +47,7 @@ let tap = function (configArg) {
|
|||||||
* handle the test files
|
* handle the test files
|
||||||
*/
|
*/
|
||||||
let testFilesSmartstream = new plugins.smartstream.Smartstream([
|
let testFilesSmartstream = new plugins.smartstream.Smartstream([
|
||||||
plugins.gulp.src([plugins.path.join(paths.cwd, 'test/test.ts')]),
|
plugins.gulp.src([plugins.path.join(paths.cwd, 'test/*.ts')]),
|
||||||
plugins.gulpTypeScript({
|
plugins.gulpTypeScript({
|
||||||
target: 'ES5',
|
target: 'ES5',
|
||||||
emitDecoratorMetadata: true,
|
emitDecoratorMetadata: true,
|
||||||
|
@ -44,7 +44,7 @@ let tap = function (configArg: INpmtsConfig) {
|
|||||||
* handle the test files
|
* handle the test files
|
||||||
*/
|
*/
|
||||||
let testFilesSmartstream = new plugins.smartstream.Smartstream([
|
let testFilesSmartstream = new plugins.smartstream.Smartstream([
|
||||||
plugins.gulp.src([ plugins.path.join(paths.cwd, 'test/test.ts') ]),
|
plugins.gulp.src([ plugins.path.join(paths.cwd, 'test/*.ts') ]),
|
||||||
plugins.gulpTypeScript({
|
plugins.gulpTypeScript({
|
||||||
target: 'ES5',
|
target: 'ES5',
|
||||||
emitDecoratorMetadata: true,
|
emitDecoratorMetadata: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user