chore: keep raw import tests local

This commit is contained in:
theridgerugby 2026-10-22 14:43:37 -04:00
parent 67f59fab67
commit 23e149a88f
4 changed files with 1 additions and 17 deletions

View File

@ -43,7 +43,7 @@
"scripts": { "scripts": {
"format": "prettier --write .", "format": "prettier --write .",
"lint": "eslint --cache .", "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" "build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript"
}, },
"simple-git-hooks": { "simple-git-hooks": {

View File

@ -1 +0,0 @@
Raw text fixture.

View File

@ -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

View File

@ -1,8 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["node"],
"noUncheckedSideEffectImports": true
},
"include": ["./node-imports.ts"]
}