fix(zones): bump zone version to 0.6.15 (#10953)
This fixes issues with microtasks being called too early in certain tests.
This commit is contained in:
parent
8a5eb08672
commit
bb7d55244d
|
@ -19,7 +19,7 @@ module.exports = function(config) {
|
|||
|
||||
'node_modules/zone.js/dist/zone.js',
|
||||
'node_modules/zone.js/dist/long-stack-trace-zone.js',
|
||||
'node_modules/zone.js/dist/proxy-zone.js',
|
||||
'node_modules/zone.js/dist/proxy.js',
|
||||
'node_modules/zone.js/dist/sync-test.js',
|
||||
'node_modules/zone.js/dist/jasmine-patch.js',
|
||||
'node_modules/zone.js/dist/async-test.js',
|
||||
|
|
|
@ -13,5 +13,5 @@ require('reflect-metadata');
|
|||
require('zone.js/dist/zone-node.js');
|
||||
require('zone.js/dist/long-stack-trace-zone.js');
|
||||
require('zone.js/dist/sync-test.js');
|
||||
require('zone.js/dist/proxy-zone.js');
|
||||
require('zone.js/dist/proxy.js');
|
||||
require('zone.js/dist/jasmine-patch.js');
|
||||
|
|
|
@ -70,7 +70,7 @@ function runInTestZone(fn: Function, finishCallback: Function, failCallback: Fun
|
|||
if (ProxyZoneSpec === undefined) {
|
||||
throw new Error(
|
||||
'ProxyZoneSpec is needed for the async() test helper but could not be found. ' +
|
||||
'Please make sure that your environment includes zone.js/dist/proxy-zone.js');
|
||||
'Please make sure that your environment includes zone.js/dist/proxy.js');
|
||||
}
|
||||
const proxyZoneSpec = ProxyZoneSpec.get();
|
||||
ProxyZoneSpec.assertPresent();
|
||||
|
|
|
@ -21,7 +21,7 @@ module.exports = function(config) {
|
|||
// Zone.js dependencies
|
||||
'node_modules/zone.js/dist/zone.js',
|
||||
'node_modules/zone.js/dist/long-stack-trace-zone.js',
|
||||
'node_modules/zone.js/dist/proxy-zone.js',
|
||||
'node_modules/zone.js/dist/proxy.js',
|
||||
'node_modules/zone.js/dist/sync-test.js',
|
||||
'node_modules/zone.js/dist/jasmine-patch.js',
|
||||
'node_modules/zone.js/dist/async-test.js',
|
||||
|
|
|
@ -5774,7 +5774,7 @@
|
|||
}
|
||||
},
|
||||
"zone.js": {
|
||||
"version": "0.6.14"
|
||||
"version": "0.6.15"
|
||||
}
|
||||
},
|
||||
"name": "angular-srcs",
|
||||
|
|
|
@ -9214,9 +9214,9 @@
|
|||
}
|
||||
},
|
||||
"zone.js": {
|
||||
"version": "0.6.14",
|
||||
"from": "zone.js@0.6.14",
|
||||
"resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.6.14.tgz"
|
||||
"version": "0.6.15",
|
||||
"from": "zone.js@0.6.15",
|
||||
"resolved": "http://registry.npmjs.org/zone.js/-/zone.js-0.6.15.tgz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"es6-shim": "^0.35.0",
|
||||
"reflect-metadata": "^0.1.3",
|
||||
"rxjs": "5.0.0-beta.6",
|
||||
"zone.js": "^0.6.14"
|
||||
"zone.js": "^0.6.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/angularjs": "^1.5.13-alpha",
|
||||
|
|
|
@ -6,7 +6,7 @@ var JasmineRunner = require('jasmine');
|
|||
var path = require('path');
|
||||
// require('es6-shim/es6-shim.js');
|
||||
require('zone.js/dist/long-stack-trace-zone.js');
|
||||
require('zone.js/dist/proxy-zone.js');
|
||||
require('zone.js/dist/proxy.js');
|
||||
require('zone.js/dist/sync-test.js');
|
||||
require('zone.js/dist/async-test.js');
|
||||
require('zone.js/dist/fake-async-test.js');
|
||||
|
|
|
@ -7,7 +7,7 @@ var path = require('path');
|
|||
require('source-map-support').install();
|
||||
// require('es6-shim/es6-shim.js');
|
||||
require('zone.js/dist/long-stack-trace-zone.js');
|
||||
require('zone.js/dist/proxy-zone.js');
|
||||
require('zone.js/dist/proxy.js');
|
||||
require('zone.js/dist/sync-test.js');
|
||||
require('zone.js/dist/async-test.js');
|
||||
require('zone.js/dist/fake-async-test.js');
|
||||
|
|
Loading…
Reference in New Issue