Skip to content

Commit

Permalink
fix(e2e): update yarn specific files
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Nov 6, 2023
1 parent bc0dc7d commit 86ccccf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __e2e__/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ test('init uses npm as the package manager with --npm', () => {

const initDirPath = path.join(DIR, PROJECT_NAME);

// Remove yarn.lock and node_modules
// Remove yarn specific files and node_modules
const filteredFiles = customTemplateCopiedFiles.filter(
(file) => !['yarn.lock', 'node_modules'].includes(file),
(file) =>
!['yarn.lock', 'node_modules', '.yarnrc.yml', '.yarn'].includes(file),
);

// Add package-lock.json
Expand Down

0 comments on commit 86ccccf

Please sign in to comment.