This repository was archived by the owner on Jan 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ open ./coverage/index.html
51
51
- [x] FIX dynamic Angular modules loading (fixed in #2 )
52
52
- [x] Allow to use HAML templates
53
53
- [x] BabelJS and full ES6/7 support
54
+ - [x] Running tests in PhantomJS
54
55
55
56
56
57
### Demo build
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ module.exports = function (config) {
48
48
} ,
49
49
webpackMiddleware : {
50
50
stats : {
51
+ chunkModules : false ,
51
52
colors : true
52
53
}
53
54
} ,
@@ -69,7 +70,7 @@ module.exports = function (config) {
69
70
colors : true ,
70
71
logLevel : config . LOG_INFO ,
71
72
autoWatch : false ,
72
- browsers : [ 'Chrome ' ] ,
73
+ browsers : [ 'PhantomJS ' ] ,
73
74
singleRun : true
74
75
} ) ;
75
76
} ;
Original file line number Diff line number Diff line change 33
33
"isparta-loader" : " ^0.2.0" ,
34
34
"jasmine-core" : " ^2.3.4" ,
35
35
"karma" : " ^0.13.3" ,
36
- "karma-chrome-launcher" : " ^0.2.0" ,
37
36
"karma-coverage" : " ^0.4.2" ,
38
37
"karma-jasmine" : " ^0.3.6" ,
38
+ "karma-phantomjs-launcher" : " ^0.2.0" ,
39
39
"karma-sourcemap-loader" : " ^0.3.5" ,
40
40
"karma-webpack" : " ^1.7.0" ,
41
41
"merge-stream" : " ^0.1.8" ,
42
42
"ng-cache-loader" : " 0.0.9" ,
43
43
"null-loader" : " ^0.1.1" ,
44
+ "phantomjs" : " ^1.9.17" ,
44
45
"sass-loader" : " ^1.0.3" ,
45
46
"style-loader" : " ^0.12.3" ,
46
47
"url-loader" : " ^0.5.6" ,
Original file line number Diff line number Diff line change 1
1
var testsContext ;
2
2
3
+ require ( 'babel-core/polyfill' ) ;
3
4
require ( './vendor/angular.src' ) ;
4
5
require ( 'angular-mocks' ) ;
5
6
You can’t perform that action at this time.
0 commit comments