File tree 3 files changed +27
-4
lines changed
3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 40
40
"gulp-tslint" : " 6.0.1" ,
41
41
"gulp-uglify" : " 1.5.4" ,
42
42
"gulp-wrap-umd" : " 0.2.1" ,
43
+ "mock-fs" : " 3.11.0" ,
44
+ "path" : " ^0.12.7" ,
45
+ "requirejs" : " ^2.3.2" ,
46
+ "rewire" : " ^2.5.2" ,
43
47
"rimraf" : " 2.5.3" ,
44
48
"source-map-support" : " 0.4.2" ,
45
- "mock-fs " : " 3.11.0 " ,
49
+ "systemjs " : " ^0.19.39 " ,
46
50
"tracekit" : " 0.4.3" ,
47
51
"tslint" : " 3.13.0" ,
48
52
"tsproject" : " 1.2.1" ,
Original file line number Diff line number Diff line change
1
+ require . config ( {
2
+ baseUrl : 'node_modules' ,
3
+ paths : {
4
+ chai : 'chai/chai' ,
5
+ TraceKit : 'tracekit/tracekit'
6
+ }
7
+ } ) ;
8
+
9
+ require ( [
10
+ '../dist/temp/exceptionless-spec'
11
+ ] , function ( ) {
12
+
13
+ if ( typeof mochaPhantomJS !== "undefined" ) { mochaPhantomJS . run ( ) ; }
14
+ else {
15
+
16
+ console . log ( 'running mocha' ) ;
17
+ mocha . run ( ) ;
18
+ }
19
+ } ) ;
Original file line number Diff line number Diff line change 19
19
< script >
20
20
mocha . setup ( 'bdd' ) ;
21
21
</ script >
22
- < script src ="dist/temp/exceptionless-spec.js "> </ script >
22
+ <!--< script src="dist/temp/exceptionless-spec.js"></script>-- >
23
23
< script >
24
- mocha . run ( ) ;
24
+ // mocha.run();
25
25
</ script >
26
- <!--< script data-main="test.config.js" src="node_modules/requirejs/require.js"></script>-- >
26
+ < script data-main ="test.config.js " src ="node_modules/requirejs/require.js "> </ script >
27
27
</ body >
28
28
</ html >
You can’t perform that action at this time.
0 commit comments