diff options
Diffstat (limited to 'packages/integrations/sitemap/test/routes.test.js')
-rw-r--r-- | packages/integrations/sitemap/test/routes.test.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/integrations/sitemap/test/routes.test.js b/packages/integrations/sitemap/test/routes.test.js index 909580dd9..326cb64ef 100644 --- a/packages/integrations/sitemap/test/routes.test.js +++ b/packages/integrations/sitemap/test/routes.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('routes', () => { /** @type {import('./test-utils.js').Fixture} */ @@ -17,10 +18,10 @@ describe('routes', () => { }); it('does not include endpoints', async () => { - expect(urls).to.not.include('http://example.com/endpoint.json'); + assert.equal(urls.includes('http://example.com/endpoint.json'), false); }); it('does not include redirects', async () => { - expect(urls).to.not.include('http://example.com/redirect'); + assert.equal(urls.includes('http://example.com/redirect'), false); }); }); |