Skip to content

Commit

Permalink
test: correct afterEach import
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Dec 20, 2024
1 parent f112f29 commit 4a02e34
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tests/integration/simple-app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ import { HttpResponse, http, passthrough } from 'msw'
import { setupServer } from 'msw/node'
import { gt, prerelease } from 'semver'
import { v4 } from 'uuid'
import { Mock, afterAll, beforeAll, beforeEach, describe, expect, test, vi } from 'vitest'
import {
Mock,
afterAll,
afterEach,
beforeAll,
beforeEach,
describe,
expect,
test,
vi,
} from 'vitest'
import { getPatchesToApply } from '../../src/build/content/server.js'
import { type FixtureTestContext } from '../utils/contexts.js'
import {
Expand All @@ -24,8 +34,6 @@ import {
startMockBlobStore,
} from '../utils/helpers.js'
import { nextVersionSatisfies } from '../utils/next-version-helpers.mjs'
import { purgeCache } from '@netlify/functions'
import { afterEach } from 'node:test'

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

0 comments on commit 4a02e34

Please sign in to comment.