Skip to content

Commit

Permalink
Merge pull request #1 from ir-engine/type-module-vite-node-test
Browse files Browse the repository at this point in the history
type module vite node test
  • Loading branch information
HexaField authored Oct 10, 2024
2 parents 6bb9808 + 3f8cc67 commit c3548b6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 126 deletions.
47 changes: 0 additions & 47 deletions .mocharc.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ir-engine/ir-template",
"version": "0.0.0",
"scripts": {
"test": "mocha --config .mocharc.js",
"test": "vitest run",
"check-errors": "tsc --noemit",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"format-scss": "stylelint \"**/*.scss\" --fix",
Expand Down
24 changes: 0 additions & 24 deletions tests/dummy.test.ts

This file was deleted.

37 changes: 0 additions & 37 deletions tests/mocha.env.js

This file was deleted.

32 changes: 15 additions & 17 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
{
"compilerOptions": {
"target": "esnext",
"lib": ["esnext", "dom", "dom.iterable", "WebWorker"],
"allowJs": true,
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"module": "CommonJS",
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"strict": false,
"strictNullChecks": true,
"strictBindCallApply": true,
"noImplicitAny": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"moduleResolution": "node",
"sourceMap": true,
"jsx": "react",
"isolatedModules": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"declaration": true,
"outDir": "./lib",
"types": ["vite/client", "mocha"]
"declaration": false,
"types": ["@types/node"]
},
"exclude": [
"**/node_modules/**"
],
"include": [
"../../../../../__global.d.ts",
"../../../../server-core/src/*",
"../../../../client-core/src/*",
"./**/*.ts",
"./**/*.tsx"
"../../../../client-core/src/",
"../../../../server-core/src/",
"./src"
]
}

0 comments on commit c3548b6

Please sign in to comment.