|
1 | | -import { dirname, join, relative } from 'node:path'; |
2 | | -import { afterEach, expect } from 'vitest'; |
3 | | -import { nxTargetProject } from '@code-pushup/test-nx-utils'; |
4 | | -import { teardownTestFolder } from '@code-pushup/test-setup'; |
5 | | -import { |
6 | | - E2E_ENVIRONMENTS_DIR, |
7 | | - TEST_OUTPUT_DIR, |
8 | | - createNpmWorkspace, |
9 | | - removeColorCodes, |
10 | | -} from '@code-pushup/test-utils'; |
11 | | -import { executeProcess, readJsonFile, readTextFile } from '@code-pushup/utils'; |
| 1 | +import {join} from 'node:path'; |
| 2 | +import {afterEach, expect} from 'vitest'; |
| 3 | +import {nxTargetProject} from '@code-pushup/test-nx-utils'; |
| 4 | +import {teardownTestFolder} from '@code-pushup/test-setup'; |
| 5 | +import {createNpmWorkspace, E2E_ENVIRONMENTS_DIR, removeColorCodes, TEST_OUTPUT_DIR,} from '@code-pushup/test-utils'; |
| 6 | +import {executeProcess, readJsonFile, readTextFile} from '@code-pushup/utils'; |
12 | 7 |
|
13 | 8 | describe('create-cli-inti', () => { |
14 | 9 | const workspaceRoot = join(E2E_ENVIRONMENTS_DIR, nxTargetProject()); |
@@ -53,7 +48,7 @@ describe('create-cli-inti', () => { |
53 | 48 | }); |
54 | 49 |
|
55 | 50 | it('should execute package correctly over npm init', async () => { |
56 | | - const cwd = join(testFileDir, 'npm-init'); |
| 51 | + const cwd = join(testFileDir, 'npm-init-setup'); |
57 | 52 | await createNpmWorkspace(cwd); |
58 | 53 |
|
59 | 54 | const { code, stdout } = await executeProcess({ |
|
0 commit comments