From 23e149a88fa37aff87d53bd59a9316241b9c601b Mon Sep 17 00:00:00 2001 From: theridgerugby <156534506+theridgerugby@users.noreply.github.com> Date: Thu, 22 Oct 2026 14:43:37 -0400 Subject: [PATCH] chore: keep raw import tests local --- package.json | 2 +- tests/types/fixtures/text.txt | 1 - tests/types/node-imports.ts | 7 ------- tests/types/tsconfig.json | 8 -------- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 tests/types/fixtures/text.txt delete mode 100644 tests/types/node-imports.ts delete mode 100644 tests/types/tsconfig.json diff --git a/package.json b/package.json index 77194f5..f0c4d2a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "scripts": { "format": "prettier --write .", "lint": "eslint --cache .", - "typecheck": "tsc --noEmit && tsc --noEmit -p tests/types/tsconfig.json", + "typecheck": "tsc --noEmit", "build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript" }, "simple-git-hooks": { diff --git a/tests/types/fixtures/text.txt b/tests/types/fixtures/text.txt deleted file mode 100644 index 8850cc6..0000000 --- a/tests/types/fixtures/text.txt +++ /dev/null @@ -1 +0,0 @@ -Raw text fixture. diff --git a/tests/types/node-imports.ts b/tests/types/node-imports.ts deleted file mode 100644 index 936e60c..0000000 --- a/tests/types/node-imports.ts +++ /dev/null @@ -1,7 +0,0 @@ -import 'electron-vite/node' -import raw from './fixtures/text.txt?raw' - -export const text: string = raw - -// @ts-expect-error Raw imports return strings, not Node.js buffers. -export const buffer: Buffer = raw diff --git a/tests/types/tsconfig.json b/tests/types/tsconfig.json deleted file mode 100644 index 07a91bb..0000000 --- a/tests/types/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["node"], - "noUncheckedSideEffectImports": true - }, - "include": ["./node-imports.ts"] -}