Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
test(extensions): run llamacpp-extension tests in the global suite
Akarshan Biswas7c8b18e86e01
diff --git a/package.json b/package.jsonindex 8132fa107..58dca4834 100644--- a/package.json+++ b/package.json@@ -14,9 +14,10 @@"ios": "yarn tauri ios dev","android": "yarn tauri android dev","build": "yarn build:web && yarn build:tauri",- "test": "yarn test:core && yarn test:web",+ "test": "yarn test:core && yarn test:web && yarn test:ext","test:core": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest run --project @janhq/core","test:web": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest run --project @janhq/web-app",+ "test:ext": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest run --project @janhq/llamacpp-extension","test:all": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest run","test:watch": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest","test:ui": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vitest --ui",diff --git a/vitest.config.ts b/vitest.config.tsindex 3a9b19ee1..cc78bc555 100644--- a/vitest.config.ts+++ b/vitest.config.ts@@ -8,6 +8,9 @@ export default defineConfig({// Web-app package - use its own vitest config'./web-app',++ // Extensions that ship their own tests+ './extensions/llamacpp-extension',],coverage: {provider: 'v8',