docs(testing): revert to jasmine v.2.4.1 (#2697)

Bug in Jasmine v.2.5.x.  Stick with v.2.4.1 (as karma-jasmine does) until the following issue is resolved:
https://github.com/jasmine/jasmine/issues/1231

Unfortunately, there is no `@types/jasmine` for v.2.4 but only for v.2.5.
This commit is contained in:
Ward Bell 2016-10-29 23:53:21 -07:00 committed by GitHub
parent 7e5f5a25ad
commit e9d78133e1
2 changed files with 5 additions and 3 deletions

View File

@ -46,7 +46,7 @@
"@types/angular-route": "^1.3.2", "@types/angular-route": "^1.3.2",
"@types/angular-sanitize": "^1.3.3", "@types/angular-sanitize": "^1.3.3",
"@types/core-js": "^0.9.34", "@types/core-js": "^0.9.34",
"@types/jasmine": "^2.5.35", "@types/jasmine": "~2.5.36",
"@types/node": "^6.0.45", "@types/node": "^6.0.45",
"@types/selenium-webdriver": "^2.53.32", "@types/selenium-webdriver": "^2.53.32",
"angular2-template-loader": "^0.4.0", "angular2-template-loader": "^0.4.0",
@ -59,8 +59,8 @@
"html-loader": "^0.4.3", "html-loader": "^0.4.3",
"html-webpack-plugin": "^2.16.1", "html-webpack-plugin": "^2.16.1",
"http-server": "^0.9.0", "http-server": "^0.9.0",
"jasmine": "^2.5.2", "jasmine": "~2.4.1",
"jasmine-core": "^2.5.2", "jasmine-core": "~2.4.1",
"karma": "^1.3.0", "karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0", "karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1", "karma-cli": "^1.0.1",

View File

@ -71,6 +71,8 @@ var _rxData = [
// Test libraries // Test libraries
// Plunker recommends getting jasmine from cloudfare // Plunker recommends getting jasmine from cloudfare
// Don't upgrade to 2.5.x until following issue resolved
// https://github.com/jasmine/jasmine/issues/1231
{ {
pattern: 'script', pattern: 'script',
from: 'node_modules/jasmine-core/lib/jasmine-core/jasmine.js', from: 'node_modules/jasmine-core/lib/jasmine-core/jasmine.js',