summaryrefslogtreecommitdiff
path: root/packages/integrations/sitemap/test/ssr.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/sitemap/test/ssr.test.js')
-rw-r--r--packages/integrations/sitemap/test/ssr.test.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/integrations/sitemap/test/ssr.test.js b/packages/integrations/sitemap/test/ssr.test.js
index e6f8412d5..d4bbd5264 100644
--- a/packages/integrations/sitemap/test/ssr.test.js
+++ b/packages/integrations/sitemap/test/ssr.test.js
@@ -1,5 +1,6 @@
import { loadFixture, readXML } from './test-utils.js';
-import { expect } from 'chai';
+import assert from 'node:assert/strict';
+import { before, describe, it } from 'node:test';
describe('SSR support', () => {
/** @type {import('./test-utils.js').Fixture} */
@@ -16,7 +17,7 @@ describe('SSR support', () => {
const data = await readXML(fixture.readFile('/client/sitemap-0.xml'));
const urls = data.urlset.url;
- expect(urls[0].loc[0]).to.equal('http://example.com/one/');
- expect(urls[1].loc[0]).to.equal('http://example.com/two/');
+ assert.equal(urls[0].loc[0], 'http://example.com/one/');
+ assert.equal(urls[1].loc[0], 'http://example.com/two/');
});
});