refactor(test-utils): remove unused codes (#6369)

This commit is contained in:
kazuya kawaguchi 2022-08-05 17:35:08 +09:00 committed by GitHub
parent 463c15e3d2
commit 0df9553ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -55,9 +55,6 @@ export async function stopServer () {
if (ctx.serverProcess) {
await ctx.serverProcess.kill()
}
if (ctx.listener) {
await ctx.listener.close()
}
}
export function fetch (path: string, options?: any) {

View File

@ -1,7 +1,6 @@
import type { Nuxt, NuxtConfig } from '@nuxt/schema'
import type { ExecaChildProcess } from 'execa'
import type { Browser, LaunchOptions } from 'playwright'
import type { Listener } from 'listhen'
export type TestRunner = 'vitest' | 'jest'
@ -32,7 +31,6 @@ export interface TestContext {
browser?: Browser
url?: string
serverProcess?: ExecaChildProcess
listener?: Listener
}
export interface TestHooks {