Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add type script plugin e2e #974

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
test(plugin-typescript-e2e): fix
  • Loading branch information
BioPhoton committed Mar 21, 2025
commit 1a01bd97403f9ce2b61525e3010876dfd4602d80

This file was deleted.

2 changes: 1 addition & 1 deletion e2e/plugin-typescript-e2e/tests/collect.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import path, { join } from 'node:path';
import { afterAll, beforeAll, expect } from 'vitest';
import { type Report, reportSchema } from '@code-pushup/models';
import { nxTargetProject } from '@code-pushup/test-nx-utils';
import { teardownTestFolder } from '@code-pushup/test-setup';
import {
E2E_ENVIRONMENTS_DIR,
TEST_OUTPUT_DIR,
omitVariableReportData,
osAgnosticPath,
removeColorCodes,
teardownTestFolder,
} from '@code-pushup/test-utils';
import { executeProcess, readJsonFile } from '@code-pushup/utils';

Expand Down
6 changes: 1 addition & 5 deletions e2e/plugin-typescript-e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"types": ["vitest"],
"paths": {
"@code-pushup/test-setup": ["../../testing/test-setup/src/index.ts"],
"@code-pushup/test-nx-setup": ["../../testing/test-nx-setup/src/index.ts"]
}
"types": ["vitest"]
},
"files": [],
"include": [],
Expand Down
8 changes: 0 additions & 8 deletions e2e/plugin-typescript-e2e/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
"types": ["vitest/globals", "vitest/importMeta", "vite/client", "node"],
"target": "ES2020"
},
"references": [
{
"path": "../../testing/test-setup/tsconfig.json"
},
{
"path": "../../testing/test-nx-utils/tsconfig.json"
}
],
"include": [
"vite.config.e2e.ts",
"tests/**/*.e2e.test.ts",
Expand Down