File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- // Don't run code in ES5 strict mode.
2- // In case this module was in strict mode, all other modules called by this would also be strict.
3- // But when testing if the strict mode is preserved, we must ensure that this module is NOT strict.
4-
5- describe ( "internalRewire (node.js) " , function ( ) {
6- before ( require ( "./testHelpers/createFakePackageJSON.js" ) ) ;
7- after ( require ( "./testHelpers/removeFakePackageJSON.js" ) ) ;
8- it ( "should pass all shared test cases" , function ( ) {
9- require ( "./testModules/sharedTestCases.js" ) ;
10- } ) ;
1+ // Don't run code in ES5 strict mode.
2+ // In case this module was in strict mode, all other modules called by this would also be strict.
3+ // But when testing if the strict mode is preserved, we must ensure that this module is NOT strict.
4+
5+ describe ( "internalRewire" , function ( ) {
6+ before ( require ( "./testHelpers/createFakePackageJSON.js" ) ) ;
7+ after ( require ( "./testHelpers/removeFakePackageJSON.js" ) ) ;
8+ it ( "should pass all shared test cases" , function ( ) {
9+ require ( "./testModules/sharedTestCases.js" ) ;
10+ } ) ;
1111} ) ;
You can’t perform that action at this time.
0 commit comments