From 8f8597804662202edeb27857fa5a52bc1b164846 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 15 Oct 2021 01:17:10 +0200 Subject: [PATCH] no yarn in test --- e2e/__tests__/resolveConditions.test.ts | 5 ----- e2e/resolve-conditions/package.json | 3 --- e2e/resolve-conditions/yarn.lock | 21 --------------------- 3 files changed, 29 deletions(-) delete mode 100644 e2e/resolve-conditions/yarn.lock diff --git a/e2e/__tests__/resolveConditions.test.ts b/e2e/__tests__/resolveConditions.test.ts index 375257ac7640..991a2b27e8b1 100644 --- a/e2e/__tests__/resolveConditions.test.ts +++ b/e2e/__tests__/resolveConditions.test.ts @@ -7,15 +7,10 @@ import {resolve} from 'path'; import {onNodeVersions} from '@jest/test-utils'; -import {runYarnInstall} from '../Utils'; import runJest from '../runJest'; const dir = resolve(__dirname, '..', 'resolve-conditions'); -beforeAll(() => { - runYarnInstall(dir); -}); - // The versions where vm.Module exists and commonjs with "exports" is not broken onNodeVersions('>=12.16.0', () => { test('resolves package exports correctly with custom resolver', () => { diff --git a/e2e/resolve-conditions/package.json b/e2e/resolve-conditions/package.json index af0b73eb6223..6bfa1448215b 100644 --- a/e2e/resolve-conditions/package.json +++ b/e2e/resolve-conditions/package.json @@ -10,8 +10,5 @@ "/**/*.test.*" ], "transform": {} - }, - "dependencies": { - "resolve.exports": "^1.0.2" } } diff --git a/e2e/resolve-conditions/yarn.lock b/e2e/resolve-conditions/yarn.lock deleted file mode 100644 index b98bb300b2b9..000000000000 --- a/e2e/resolve-conditions/yarn.lock +++ /dev/null @@ -1,21 +0,0 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! - -__metadata: - version: 4 - cacheKey: 7 - -"resolve.exports@npm:^1.0.2": - version: 1.0.2 - resolution: "resolve.exports@npm:1.0.2" - checksum: 012a46e3ae41c53762abf5b50ea1b4adf2de617bbea1dbc7bf6e609c1ceaedee7782acbc92d443951d5dd0c3a8fb1090ce73285a9ccc24b530e33b5e09ae196f - languageName: node - linkType: hard - -"root-workspace-0b6124@workspace:.": - version: 0.0.0-use.local - resolution: "root-workspace-0b6124@workspace:." - dependencies: - resolve.exports: ^1.0.2 - languageName: unknown - linkType: soft