Skip to content

Commit 5b18951

Browse files
committed
fix test
1 parent 3e64afb commit 5b18951

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

packages/cli/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.7",
44
"exports": "./src/index.ts",
55
"imports": {
6-
"@inquirer/prompts": "npm:@inquirer/prompts@^7.5.0",
76
"@napi/shared": "../shared/src/index.ts",
7+
"@inquirer/prompts": "npm:@inquirer/prompts@^7.5.0",
88
"@types/express": "npm:@types/express@^5.0.1",
99
"@types/yargs": "npm:@types/yargs@^17.0.33",
1010
"express": "npm:express@^5.1.0",

vite.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { resolve } from "node:path";
2+
import { defineConfig } from "vitest/config";
3+
4+
export default defineConfig({
5+
resolve: {
6+
alias: {
7+
// TODO this is a workarround, should remove vitest and use Deno.test() instead
8+
"@napi/shared": resolve("./packages/shared/src/index.ts"),
9+
},
10+
},
11+
});

0 commit comments

Comments
 (0)