chore: use inline vitest env comment

This commit is contained in:
Evan You 2025-02-10 09:19:57 +08:00
parent 1ef15c780f
commit c317a06043
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
3 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// @vitest-environment jsdom
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'
import path from 'node:path'
import { Transition, createApp, h, nextTick, ref } from 'vue'

View File

@ -1,3 +1,5 @@
// @vitest-environment jsdom
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'
import path from 'node:path'
import { createApp, ref } from 'vue'

View File

@ -80,7 +80,6 @@ export default defineConfig({
extends: true,
test: {
name: 'e2e',
environment: 'jsdom',
poolOptions: {
threads: {
singleThread: !!process.env.CI,