Skip to content
This repository was archived by the owner on Jul 27, 2020. It is now read-only.

Commit c2e2901

Browse files
committed
fix tests for rc1
1 parent d313e8b commit c2e2901

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"karma-firefox-launcher": "^0.1.7",
3434
"karma-jasmine": "^0.3.6",
3535
"reflect-metadata": "^0.1.2",
36+
"rxjs": "^5.0.0-beta.6",
3637
"systemjs": "^0.19.11",
3738
"typescript": "^1.7.5",
3839
"yargs": "^3.31.0",

spec/support/karma-system.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ System.config({
1212
//transpiler: 'typescript',
1313
map: {
1414
'typescript': 'node_modules/typescript/lib/typescript.js',
15-
'angular2': 'node_modules/angular2',
15+
'@angular': 'node_modules/@angular',
1616
'rxjs': 'node_modules/rxjs',
1717
'spec': 'spec',
1818
'db': 'src'
1919
},
2020
packages: {
21-
'angular2': {
22-
defaultExtension: 'js'
21+
'@angular/core': {
22+
defaultExtension: 'js',
23+
main: 'index.js'
2324
},
2425
'rxjs': {
2526
defaultExtension: 'js'
@@ -36,7 +37,7 @@ System.config({
3637

3738
// Import all the specs, execute their `main()` method and kick off Karma (Jasmine).
3839
System.import('spec').then(function(mod) {
39-
return;
40+
return;
4041
})
4142
.catch(function(err){
4243
console.log(err);
@@ -50,4 +51,4 @@ System.import('spec').then(function(mod) {
5051

5152
function onlySpecFiles(path) {
5253
return /_spec\.js$/.test(path);
53-
}
54+
}

0 commit comments

Comments
 (0)