Merge pull request #31581 from woocommerce/fix/circular-reference

change extension on scaffolding sample scripts
This commit is contained in:
jonathansadowski 2022-01-07 14:26:47 -06:00 committed by GitHub
commit dabd2c6bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ const {
confirmLocalCopy,
confirmLocalDelete,
getPackageData,
installDefaults
installDefaults,
} = require( '../utils/scaffold' );
const args = process.argv.slice( 2 );

View File

@ -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 = {