Skip to content

Commit e99ed3d

Browse files
committed
test: remove redundant vitest imports
1 parent c5f590d commit e99ed3d

File tree

193 files changed

+169
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+169
-401
lines changed

e2e/ci-e2e/tests/basic.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { readFile, rename } from 'node:fs/promises';
22
import path from 'node:path';
33
import type { SimpleGit } from 'simple-git';
4-
import { afterEach } from 'vitest';
54
import {
65
type GitRefs,
76
type Options,

e2e/ci-e2e/tests/npm-workspaces.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { readFile, rename } from 'node:fs/promises';
22
import path from 'node:path';
33
import type { SimpleGit } from 'simple-git';
4-
import { afterEach } from 'vitest';
54
import {
65
type GitRefs,
76
type Options,

e2e/ci-e2e/tests/nx-monorepo.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { readFile, rename, writeFile } from 'node:fs/promises';
22
import path from 'node:path';
33
import type { SimpleGit } from 'simple-git';
4-
import { afterEach } from 'vitest';
54
import {
65
type GitRefs,
76
type Options,

e2e/cli-e2e/tests/collect.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { cp } from 'node:fs/promises';
22
import path from 'node:path';
3-
import { afterEach, beforeAll, describe, expect, it } from 'vitest';
43
import { nxTargetProject } from '@code-pushup/test-nx-utils';
54
import {
65
E2E_ENVIRONMENTS_DIR,

e2e/cli-e2e/tests/compare.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { cp } from 'node:fs/promises';
22
import path from 'node:path';
3-
import { beforeAll } from 'vitest';
43
import type { ReportsDiff } from '@code-pushup/models';
54
import { nxTargetProject } from '@code-pushup/test-nx-utils';
65
import {

e2e/cli-e2e/tests/print-config.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { cp, readFile } from 'node:fs/promises';
22
import path from 'node:path';
3-
import { beforeAll, expect } from 'vitest';
43
import { nxTargetProject } from '@code-pushup/test-nx-utils';
54
import {
65
E2E_ENVIRONMENTS_DIR,

e2e/create-cli-e2e/tests/init.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import path from 'node:path';
2-
import { afterEach, expect } from 'vitest';
32
import { nxTargetProject } from '@code-pushup/test-nx-utils';
43
import {
54
E2E_ENVIRONMENTS_DIR,

e2e/nx-plugin-e2e/tests/executor-cli.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { type Tree, updateProjectConfiguration } from '@nx/devkit';
22
import path from 'node:path';
33
import { readProjectConfiguration } from 'nx/src/generators/utils/project-configuration';
4-
import { afterAll, afterEach, beforeEach, expect } from 'vitest';
54
import {
65
type AutorunCommandExecutorOptions,
76
generateCodePushupConfig,

e2e/nx-plugin-e2e/tests/generator-configuration.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Tree } from '@nx/devkit';
22
import { readFile } from 'node:fs/promises';
33
import path from 'node:path';
4-
import { afterEach, expect } from 'vitest';
54
import { generateCodePushupConfig } from '@code-pushup/nx-plugin';
65
import {
76
generateWorkspaceAndProject,

e2e/nx-plugin-e2e/tests/generator-init.e2e.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { Tree } from '@nx/devkit';
22
import { readFile } from 'node:fs/promises';
33
import path from 'node:path';
4-
import { afterEach, expect } from 'vitest';
54
import {
65
generateWorkspaceAndProject,
76
materializeTree,

0 commit comments

Comments
 (0)