test(api): set server origin for API tests
This commit is contained in:
@@ -7,6 +7,9 @@ const rootDir = dirname(fileURLToPath(import.meta.url))
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
test: {
|
test: {
|
||||||
environment: "node",
|
environment: "node",
|
||||||
|
env: {
|
||||||
|
INTERNAL_API_ORIGIN: "http://localhost",
|
||||||
|
},
|
||||||
include: ["tests/**/*.test.ts"],
|
include: ["tests/**/*.test.ts"],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Reference in New Issue
Block a user