From 86ccccfc0cebc2de144291f7166eb57c9a9f7955 Mon Sep 17 00:00:00 2001 From: szymonrybczak Date: Mon, 6 Nov 2023 22:45:41 +0100 Subject: [PATCH] fix(e2e): update yarn specific files --- __e2e__/init.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/__e2e__/init.test.ts b/__e2e__/init.test.ts index e24188387..555253d3e 100644 --- a/__e2e__/init.test.ts +++ b/__e2e__/init.test.ts @@ -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