Skip to content

Commit 4a02e34

Browse files
committed
test: correct afterEach import
1 parent f112f29 commit 4a02e34

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/integration/simple-app.test.ts

+11-3
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)