File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,6 @@ module.exports.assertNoUnstaged = function(status) {
66 expect ( status ) . to . not . match ( / ^ .\w / m) ;
77} ;
88
9- module . exports . assertNoStaged = function ( status ) {
10- expect ( status ) . to . not . match ( / ^ \w / m) ;
11- } ;
12-
139module . exports . assertCodemodRan = function ( status ) {
14- // codemod changed locally, no change upstream
15- expect ( status ) . to . match ( / ^ M { 2 } .* a p p \/ c o n t r o l l e r s \/ a p p l i c a t i o n \. j s $ / m) ;
16-
17- // codemod changed locally, also changed upstream
18- expect ( status ) . to . match ( / ^ M { 2 } .* a p p \/ r o u t e r \. j s $ / m) ;
10+ expect ( status ) . to . match ( / ^ A { 2 } .* / m) ;
1911} ;
Original file line number Diff line number Diff line change 99 fixtureCompare : _fixtureCompare
1010} = require ( 'git-fixtures' ) ;
1111const {
12- assertNoUnstaged
13- // assertCodemodRan
12+ assertNoUnstaged,
13+ assertCodemodRan
1414} = require ( './helpers/assertions' ) ;
1515const manifest = require ( '../manifest' ) ;
1616
@@ -120,7 +120,7 @@ describe('runs codemods', function() {
120120 } ) ;
121121
122122 assertNoUnstaged ( status ) ;
123- // assertCodemodRan(status);
123+ assertCodemodRan ( status ) ;
124124 } ) ;
125125 }
126126} ) ;
You can’t perform that action at this time.
0 commit comments