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 Dec 18, 2023
1 parent 2e34b25 commit 8f96a0e
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 @@ -157,9 +157,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 8f96a0e

Please sign in to comment.