This repository was archived by the owner on Aug 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,7 @@ HELPER.precompile = (() => {
392392 }
393393
394394 if ( _hasReact ) {
395+ ReplaceFileContent ( searches , `./lib/react/react.js` ) ;
395396 ReplaceFileContent ( searches , `./tests/react/${ HELPER . SHORTNAME } .js` ) ;
396397 }
397398 } ,
@@ -969,7 +970,7 @@ HELPER.test = (() => {
969970 const packagesPKG = require ( Path . normalize ( `${ __dirname } /../packages/${ module } /package.json` ) ) ;
970971 const hasSass = Fs . existsSync ( Path . normalize ( `${ __dirname } /../packages/${ module } /src/sass/_module.scss` ) ) ;
971972 const hasJS = Fs . existsSync ( Path . normalize ( `${ __dirname } /../packages/${ module } /src/js/module.js` ) ) ;
972- const hasReact = Fs . existsSync ( Path . normalize ( `${ __dirname } /../packages/${ module } /src/react/react. js` ) ) ;
973+ const hasReact = Fs . existsSync ( Path . normalize ( `${ __dirname } /../packages/${ module } /src/react/${ HELPER . SHORTNAME } . js` ) ) ;
973974 // const hasJQuery = Fs.existsSync( Path.normalize(`${ __dirname }/../packages/${ module }/src/jquery/jquery.js`) );
974975
975976 // testing lifecycle script
You can’t perform that action at this time.
0 commit comments