Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions packages/test-utils/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 0 additions & 2 deletions packages/test-utils/src/types.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -32,7 +31,6 @@ export interface TestContext {
browser?: Browser
url?: string
serverProcess?: ExecaChildProcess
listener?: Listener
}

export interface TestHooks {
Expand Down