This repository was archived by the owner on Feb 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +45
-6
lines changed Expand file tree Collapse file tree 2 files changed +45
-6
lines changed Original file line number Diff line number Diff line change 22
22
"chai" : " ^3.5.0" ,
23
23
"co" : " ^4.6.0" ,
24
24
"co-mocha" : " ^1.1.2" ,
25
- "cross-spawn" : " ^2.1.5 " ,
26
- "eslint" : " ^2.4 .0" ,
25
+ "cross-spawn" : " ^4.0.0 " ,
26
+ "eslint" : " ^3.5 .0" ,
27
27
"eslint-config-angular" : " ^0.5.0" ,
28
28
"eslint-config-xo-react" : " ^0.6.0" ,
29
29
"eslint-config-xo-space" : " ^0.12.0" ,
32
32
"eslint-plugin-html" : " ^1.5.2" ,
33
33
"eslint-plugin-react" : " ^4.3.0" ,
34
34
"fixture-stdout" : " ^0.2.1" ,
35
- "globby" : " ^4 .0.0" ,
35
+ "globby" : " ^6 .0.0" ,
36
36
"jsdom" : " swiip/jsdom#zonejs-compat-usable" ,
37
37
"lodash" : " ^4.6.1" ,
38
38
"mkdirp-promise" : " ^2.0.0" ,
39
- "mocha" : " ^2.4.5 " ,
39
+ "mocha" : " ^3.0.2 " ,
40
40
"mz" : " ^2.4.0" ,
41
41
"rimraf-promise" : " ^2.0.0" ,
42
42
"sauce-connect-launcher" : " ^0.14.0" ,
43
43
"semver" : " ^5.1.0" ,
44
44
"through2-spy" : " ^2.0.0" ,
45
- "toposort" : " ^0.2.12 " ,
45
+ "toposort" : " ^1.0.0 " ,
46
46
"tslint" : " ^3.7.4" ,
47
- "typescript" : " ^1.8.10 " ,
47
+ "typescript" : " ^2.0.3 " ,
48
48
"webdriverio" : " ^4.0.5" ,
49
49
"yeoman-test" : " ^1.1.0"
50
50
},
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ require ( 'co-mocha' ) ;
4
+
5
+ const gulp = require ( './helpers/gulp-helper' ) ;
6
+ const yeoman = require ( './helpers/yeoman-helper' ) ;
7
+ const linter = require ( './helpers/linter-helper' ) ;
8
+ const unit = require ( './helpers/unit-helper' ) ;
9
+ const jsdom = require ( './helpers/jsdom-helper' ) ;
10
+
11
+ describe ( 'fountain interactive integration test with jsdom' , function ( ) {
12
+ this . timeout ( 0 ) ;
13
+
14
+ before ( function * ( ) {
15
+ yield yeoman . prepare ( ) ;
16
+ } ) ;
17
+
18
+ it ( `should test linter on ` , function * ( ) {
19
+ const options = yield yeoman . run ( ) ;
20
+ yield linter . linterTest ( options ) ;
21
+ } ) ;
22
+
23
+ it ( 'should run unit tests' , function * ( ) {
24
+ const result = yield gulp . test ( ) ;
25
+ unit . unitTests ( result ) ;
26
+ } ) ;
27
+
28
+ it ( 'should run "gulp serve" and e2e on number of Techs listed' , function * ( ) {
29
+ const url = yield gulp . serve ( ) ;
30
+ yield jsdom . run ( url ) ;
31
+ gulp . killServe ( ) ;
32
+ } ) ;
33
+
34
+ it ( 'should run "gulp serve:dist" and e2e on number of Techs listed' , function * ( ) {
35
+ const url = yield gulp . serveDist ( ) ;
36
+ yield jsdom . run ( url ) ;
37
+ gulp . killServe ( ) ;
38
+ } ) ;
39
+ } ) ;
You can’t perform that action at this time.
0 commit comments