From 78bebcda254c356b45e59c523d17bb6b23399909 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 20 Jan 2017 18:38:02 +0100 Subject: [PATCH] fix testing for rxjs --- dist/mod02/index.js | 4 ++-- ts/mod02/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/mod02/index.js b/dist/mod02/index.js index 6a23e86..3ac2d40 100644 --- a/dist/mod02/index.js +++ b/dist/mod02/index.js @@ -29,7 +29,7 @@ let mocha = function (configArg) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpIstanbul({}), plugins.gulpSourcemaps.write(), @@ -49,7 +49,7 @@ let mocha = function (configArg) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpInjectModules(), plugins.gulpMocha(), diff --git a/ts/mod02/index.ts b/ts/mod02/index.ts index c522b98..793eed3 100644 --- a/ts/mod02/index.ts +++ b/ts/mod02/index.ts @@ -25,7 +25,7 @@ let mocha = function (configArg: INpmtsConfig) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpIstanbul({ }), @@ -50,7 +50,7 @@ let mocha = function (configArg: INpmtsConfig) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpInjectModules(), plugins.gulpMocha(),