Skip to content

Commit 89e4588

Browse files
authored
Merge pull request #34 from dev-phantom/ci/cpanel-deployment
fix(test): configure vitest to pass with no tests and resolve shared …
2 parents d059f43 + 5beb6e1 commit 89e4588

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

packages/logs/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"src/**/*.ts",
6161
"!src/**/*.d.ts",
6262
"!src/**/index.ts"
63-
]
63+
],
64+
"moduleNameMapper": {
65+
"^@jetstart/shared$": "<rootDir>/../shared/src"
66+
}
6467
}
6568
}

packages/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "vite",
88
"build": "tsc && vite build",
99
"preview": "vite preview",
10-
"test": "vitest",
10+
"test": "vitest run --passWithNoTests",
1111
"test:watch": "vitest --watch",
1212
"test:coverage": "vitest --coverage",
1313
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)