Skip to content

Commit 698926b

Browse files
committed
revamp tests! split tests into two files
add fourslash like tester
1 parent 502d22a commit 698926b

File tree

7 files changed

+485
-192
lines changed

7 files changed

+485
-192
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"watch-plugin": "node buildTsPlugin.mjs --watch",
101101
"lint": "eslint src/**",
102102
"test": "pnpm test-plugin --run && pnpm integration-test",
103-
"test-plugin": "vitest --globals --dir typescript/test/",
103+
"test-plugin": "vitest --globals --dir typescript/test/ --environment ts-plugin",
104104
"integration-test": "node integration/prerun.mjs && tsc -p tsconfig.test.json && node testsOut/runTests.js",
105105
"integration-test:watch": "chokidar \"integration/**\" -c \"pnpm integration-test\" --initial",
106106
"postinstall": "patch-package"
@@ -118,7 +118,9 @@
118118
"type-fest": "^2.13.1",
119119
"typed-jsonfile": "^0.2.1",
120120
"typescript": "^4.9.3",
121+
"vite": "^4.1.1",
121122
"vitest": "^0.26.0",
123+
"vitest-environment-ts-plugin": "./vitest-environment-ts-plugin",
122124
"vscode-manifest": "^0.0.4"
123125
},
124126
"pnpm": {

0 commit comments

Comments
 (0)