Skip to content

Commit c634d00

Browse files
committed
test: remove ci specific logic
1 parent 812c0e6 commit c634d00

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

tests/legacy-cli/e2e/utils/assets.ts

-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ export async function createProjectFromAsset(
5151
process.chdir(dir);
5252
if (!useNpmPackages) {
5353
await useBuiltPackages();
54-
if (!getGlobalVariable('ci')) {
55-
const testRegistry = getGlobalVariable('package-registry');
56-
await writeFile('.npmrc', `registry=${testRegistry}`);
57-
}
5854
}
5955

6056
if (!skipInstall) {

tests/legacy-cli/e2e_runner.ts

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ if (testsToRun.length == allTests.length) {
160160
console.log(['Tests:', ...testsToRun].join('\n '));
161161

162162
setGlobalVariable('argv', argv);
163-
setGlobalVariable('ci', process.env['CI']?.toLowerCase() === 'true' || process.env['CI'] === '1');
164163
setGlobalVariable('package-manager', argv.yarn ? 'yarn' : 'npm');
165164

166165
Promise.all([findFreePort(), findFreePort()])

0 commit comments

Comments
 (0)