Skip to content

Commit da576be

Browse files
committed
test: remove unneeded console mock
1 parent 21c3653 commit da576be

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/integration/netlify-forms.test.ts

-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ beforeEach<FixtureTestContext>(async (ctx) => {
2020
})
2121

2222
it<FixtureTestContext>('should fail build when netlify forms are used', async (ctx) => {
23-
const warn = vi.spyOn(console, 'warn').mockImplementation(() => {})
24-
2523
await createFixture('netlify-forms', ctx)
2624

2725
const runPluginPromise = runPlugin(ctx)
@@ -32,8 +30,6 @@ it<FixtureTestContext>('should fail build when netlify forms are used', async (c
3230
})
3331

3432
it<FixtureTestContext>('should not fail build when netlify forms are used with workaround', async (ctx) => {
35-
const warn = vi.spyOn(console, 'warn').mockImplementation(() => {})
36-
3733
await createFixture('netlify-forms-workaround', ctx)
3834

3935
const runPluginPromise = runPlugin(ctx)

0 commit comments

Comments
 (0)