File tree Expand file tree Collapse file tree 7 files changed +21
-7
lines changed Expand file tree Collapse file tree 7 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -30,7 +31,8 @@ test('creates package.json', () => {
3031
3132test ( 'creates comment about creation' , ( ) => {
3233 const pkg = require ( '../package.json' ) ;
33- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
34+
35+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3436 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3537} ) ;
3638
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var helpers = require('yeoman-test');
66
77test . before ( ( ) => {
88 var pkg = require ( '../../package.json' ) ;
9+
910 var deps = [
1011 [ helpers . createDummyGenerator ( ) , 'statisk:gulp' ]
1112 ] ;
@@ -34,7 +35,8 @@ test('creates package.json', () => {
3435
3536test ( 'creates comment about creation' , ( ) => {
3637 const pkg = require ( '../../package.json' ) ;
37- const date = ( new Date ) . toISOString ( ) . split ( 'T' ) [ 0 ] ; // eslint-disable-line
38+
39+ const date = ( new Date ( ) ) . toISOString ( ) . split ( 'T' ) [ 0 ] ;
3840 assert . fileContent ( 'gulpfile.js' , '// generated on ' + date + ' using ' + pkg . name + ' ' + pkg . version ) ;
3941} ) ;
4042
You can’t perform that action at this time.
0 commit comments