0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00

chore: Migrate error-build-location.test.js to node:test (#10038)

* chore: Migrate error-build-location.test.js to node:test

* fix: remove unnecessary line

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
This commit is contained in:
Mohamed 2024-02-08 15:18:58 +02:00 committed by GitHub
parent c002236523
commit 30acdcbb0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,5 @@
import { expect } from 'chai';
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { loadFixture } from './test-utils.js';
describe('Errors information in build', () => {
@ -17,6 +18,6 @@ describe('Errors information in build', () => {
errorContent = e;
}
expect(errorContent.id).to.equal('src/pages/index.astro');
assert.equal(errorContent.id, 'src/pages/index.astro');
});
});