diff --git a/tests/integration/frameworks/hugo.test.ts b/tests/integration/frameworks/hugo.test.ts index 9990ea3060b..61ec0d9dec7 100644 --- a/tests/integration/frameworks/hugo.test.ts +++ b/tests/integration/frameworks/hugo.test.ts @@ -1,11 +1,11 @@ import { expect, test } from 'vitest' import { FixtureTestContext, setupFixtureTests } from '../utils/fixture.js' -import got from '../utils/got.js' +import fetch from 'node-fetch' setupFixtureTests('hugo-site', { devServer: true }, () => { test('should not infinite redirect when -d flag is passed', async ({ devServer: { url } }) => { - const response = await got(`${url}/`).text() + const response = await fetch(`${url}/`).then((res) => res.text()) expect(response).toContain('Home page!') })