mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore: migrate to @nuxt/test-utils alpha (#1133)
* test: update snapshots to remove quotes * chore: add alpha versions of test-utils * chore: migrate to new test format * test: slightly improve typing in suite * test: improve safety of basic test
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
/// <reference types="vitest" />
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { defineVitestConfig } from 'nuxt-vitest/config'
|
||||
|
||||
export default defineVitestConfig({
|
||||
// @ts-ignore
|
||||
test: {
|
||||
testTimeout: 20000,
|
||||
globals: true,
|
||||
silent: true,
|
||||
environment: 'nuxt',
|
||||
environmentOptions: {
|
||||
nuxt: {
|
||||
rootDir: fileURLToPath(new URL('test/nuxt/', import.meta.url))
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user