Merge pull request #31581 from woocommerce/fix/circular-reference
change extension on scaffolding sample scripts
This commit is contained in:
commit
dabd2c6bf2
|
@ -20,7 +20,7 @@ const {
|
|||
confirmLocalCopy,
|
||||
confirmLocalDelete,
|
||||
getPackageData,
|
||||
installDefaults
|
||||
installDefaults,
|
||||
} = require( '../utils/scaffold' );
|
||||
|
||||
const args = process.argv.slice( 2 );
|
||||
|
|
|
@ -109,9 +109,9 @@ const installDefaults = () => {
|
|||
|
||||
createLocalE2ePath( 'config' );
|
||||
console.log( 'Writing tests/e2e/config/jest.config.js' );
|
||||
confirmLocalCopy( `config${path.sep}jest.config.js`, `installFiles${path.sep}jest.config.js` );
|
||||
confirmLocalCopy( `config${path.sep}jest.config.js`, `installFiles${path.sep}jest.config.js.default` );
|
||||
console.log( 'Writing tests/e2e/config/jest.setup.js' );
|
||||
confirmLocalCopy( `config${path.sep}jest.setup.js`, `installFiles${path.sep}jest.setup.js` );
|
||||
confirmLocalCopy( `config${path.sep}jest.setup.js`, `installFiles${path.sep}jest.setup.js.default` );
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in New Issue