chore: lockfile update and vitest config cleanup
💘 Generated with Crush
Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
parent
6744f6d254
commit
6fcf61ba0e
4 changed files with 7 additions and 4 deletions
|
|
@ -170,5 +170,8 @@
|
|||
"fsevents": "~2.3.3",
|
||||
"koffi": "^2.9.0",
|
||||
"vectordrive": "^0.1.35"
|
||||
},
|
||||
"overrides": {
|
||||
"gaxios": "^6.7.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
"ajv": "^8.17.1",
|
||||
"ajv-formats": "^3.0.1",
|
||||
"chalk": "^5.6.2",
|
||||
"gaxios": "^6",
|
||||
"jsonrepair": "^3.14.0",
|
||||
"openai": "^6.26.0",
|
||||
"proxy-agent": "^6.5.0",
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ export function createTestContext() {
|
|||
function report(): void {
|
||||
console.log(`\nResults: ${passed} passed, ${failed} failed`);
|
||||
if (failed > 0) {
|
||||
process.exit(1);
|
||||
throw new Error(`${failed} assertion(s) failed (see stderr above)`);
|
||||
} else {
|
||||
console.log("All tests passed");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,9 @@
|
|||
* npx vitest run --changed # only tests affected by recent changes
|
||||
*/
|
||||
import { defineConfig } from "vitest/config";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { resolve } from "node:path";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const __dirname = import.meta.dirname;
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue