Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a02e34

Browse filesBrowse files
committed
test: correct afterEach import
1 parent f112f29 commit 4a02e34
Copy full SHA for 4a02e34

File tree

Expand file treeCollapse file tree

1 file changed

+11
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-3
lines changed

‎tests/integration/simple-app.test.ts

Copy file name to clipboardExpand all lines: tests/integration/simple-app.test.ts
+11-3Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ import { HttpResponse, http, passthrough } from 'msw'
88
import { setupServer } from 'msw/node'
99
import { gt, prerelease } from 'semver'
1010
import { v4 } from 'uuid'
11-
import { Mock, afterAll, beforeAll, beforeEach, describe, expect, test, vi } from 'vitest'
11+
import {
12+
Mock,
13+
afterAll,
14+
afterEach,
15+
beforeAll,
16+
beforeEach,
17+
describe,
18+
expect,
19+
test,
20+
vi,
21+
} from 'vitest'
1222
import { getPatchesToApply } from '../../src/build/content/server.js'
1323
import { type FixtureTestContext } from '../utils/contexts.js'
1424
import {
@@ -24,8 +34,6 @@ import {
2434
startMockBlobStore,
2535
} from '../utils/helpers.js'
2636
import { nextVersionSatisfies } from '../utils/next-version-helpers.mjs'
27-
import { purgeCache } from '@netlify/functions'
28-
import { afterEach } from 'node:test'
2937

3038
const mockedCp = cp as Mock<
3139
Parameters<(typeof import('node:fs/promises'))['cp']>,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.