Merged in chore/upgrade-vitest4 (pull request #3253)
chore: upgrade to vitest@4 * chore: upgrade to vitest@4 Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -3,13 +3,12 @@ import "server-only"
|
||||
import deepmerge from "deepmerge"
|
||||
import merge from "deepmerge"
|
||||
|
||||
import type { DocumentNode } from "graphql"
|
||||
|
||||
import { createLogger } from "@scandic-hotels/common/logger/createLogger"
|
||||
|
||||
import { request } from "./request"
|
||||
|
||||
import type { CacheTime } from "@scandic-hotels/common/dataCache"
|
||||
import type { DocumentNode } from "graphql"
|
||||
import type { BatchRequestDocument } from "graphql-request"
|
||||
|
||||
import type { Data } from "../types/requestData"
|
||||
|
||||
@@ -85,6 +85,6 @@
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"typescript": "5.8.3",
|
||||
"vitest": "^3.2.4"
|
||||
"vitest": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
export default {
|
||||
import { defineConfig } from "vitest/config"
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: "jsdom",
|
||||
setupFiles: ["./vitest-setup.ts"],
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user