Files
homebox/frontend/test/vitest.config.ts
Tonya ec5b6bb8ff Get front end tests passing (#299)
* chore: get front end tests passing

* chore: add @vue/runtime-core to fix types for $t

* chore: sort lockfile

* Discard changes to frontend/pnpm-lock.yaml

* chore: sort lockfile

* chore: fix some type errors

* chore: switch from nuxi typecheck to vue-tsc to force a known good version

* chore: linting

* chore: update pnpm version in frontend test

* feat: add proper pagination type (need to sort why it still doesn't work)

* chore: format imports and initialize totalPrice in label page to null when no label is present

* chore: update pnpm to v9.12.2, merge ItemSummaryPaginationResult with PaginationResult, and handle error in label generator more gracefully

* chore: lint

---------

Co-authored-by: Matt Kilgore <matthew@kilgore.dev>
2024-10-28 15:47:00 -04:00

16 lines
287 B
TypeScript

import path from "path";
import { defineConfig } from "vite";
export default defineConfig({
// @ts-ignore
test: {
globalSetup: "./test/setup.ts",
},
resolve: {
alias: {
"@": path.resolve(__dirname, ".."),
"~~": path.resolve(__dirname, ".."),
},
},
});