diff --git a/packages/astro/test/static-build-page-url-format.test.js b/packages/astro/test/static-build-page-url-format.nodetest.js similarity index 73% rename from packages/astro/test/static-build-page-url-format.test.js rename to packages/astro/test/static-build-page-url-format.nodetest.js index 2f8660b63c..2755b3ffb3 100644 --- a/packages/astro/test/static-build-page-url-format.test.js +++ b/packages/astro/test/static-build-page-url-format.nodetest.js @@ -1,4 +1,5 @@ -import { expect } from 'chai'; +import assert from 'node:assert/strict'; +import { before, describe, it } from 'node:test'; import { loadFixture } from './test-utils.js'; describe("Static build - format: 'file'", () => { @@ -13,11 +14,11 @@ describe("Static build - format: 'file'", () => { it('Builds pages in root', async () => { const html = await fixture.readFile('/one.html'); - expect(html).to.be.a('string'); + assert.equal(typeof html, 'string'); }); it('Builds pages in subfolders', async () => { const html = await fixture.readFile('/sub/page.html'); - expect(html).to.be.a('string'); + assert.equal(typeof html, 'string'); }); });