File tree Expand file tree Collapse file tree 6 files changed +2721
-3
lines changed Expand file tree Collapse file tree 6 files changed +2721
-3
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,7 @@ node_modules
2
2
lib /* .js
3
3
lib /* .js.map
4
4
test /* .js
5
- test /* .js.map
5
+ test /* .js.map
6
+ ! vendor /* .js
7
+ ! karma.conf.js
8
+ ! allbrowsers.conf.js
Original file line number Diff line number Diff line change
1
+ module . exports = function ( config ) {
2
+ config . set ( {
3
+ basePath : '' ,
4
+ frameworks : [
5
+ 'browserify' ,
6
+ 'mocha' ,
7
+ 'detectBrowsers'
8
+ ] ,
9
+ files : [
10
+ 'vendor/es6-promise.auto.js' ,
11
+ 'test/*Tests.js'
12
+ ] ,
13
+ exclude : [
14
+ 'test/Node*Tests.js'
15
+ ] ,
16
+ preprocessors : {
17
+ 'test/*Tests.js' : [ 'browserify' ]
18
+ } ,
19
+ reporters : [ 'progress' ] ,
20
+ port : 9876 ,
21
+ colors : true ,
22
+ logLevel : config . LOG_WARN ,
23
+ autoWatch : false ,
24
+ singleRun : true ,
25
+ concurrency : 2
26
+ } )
27
+ } ;
Original file line number Diff line number Diff line change
1
+ module . exports = function ( config ) {
2
+ config . set ( {
3
+ basePath : '' ,
4
+ frameworks : [
5
+ 'browserify' ,
6
+ 'mocha'
7
+ ] ,
8
+ files : [
9
+ 'vendor/es6-promise.auto.js' ,
10
+ 'test/*Tests.js'
11
+ ] ,
12
+ exclude : [
13
+ 'test/Node*Tests.js'
14
+ ] ,
15
+ preprocessors : {
16
+ 'test/*Tests.js' : [ 'browserify' ]
17
+ } ,
18
+ reporters : [ 'progress' ] ,
19
+ port : 9876 ,
20
+ colors : true ,
21
+ logLevel : config . LOG_WARN ,
22
+ autoWatch : false ,
23
+ browsers : [ 'HeadlessChrome' ] ,
24
+ singleRun : true ,
25
+ concurrency : Infinity ,
26
+ customLaunchers : {
27
+ HeadlessChrome : {
28
+ base : 'Chrome' ,
29
+ flags : [
30
+ '--no-sandbox' ,
31
+ '--headless' ,
32
+ '--disable-gpu' ,
33
+ '--remote-debugging-port=9222'
34
+ ]
35
+ }
36
+ }
37
+ } )
38
+ } ;
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"prepublishOnly" : " tsc" ,
9
9
"pretest" : " tsc" ,
10
- "test" : " mocha"
10
+ "test" : " mocha && karma start "
11
11
},
12
12
13
13
"license" : " UNLICENSED" ,
30
30
"karma-opera-launcher" : " ^1.0.0" ,
31
31
"karma-phantomjs-launcher" : " ^1.0.2" ,
32
32
"karma-safari-launcher" : " ^1.0.0" ,
33
- "karma-safaritechpreview-launcher" : " 0.0.5" ,
34
33
"mocha" : " ^3.2.0" ,
35
34
"sjcl" : " ^1.0.6" ,
36
35
"typescript" : " ^2.2.2"
You can’t perform that action at this time.
0 commit comments