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:
parent
c002236523
commit
30acdcbb0d
1 changed files with 3 additions and 2 deletions
|
@ -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');
|
||||
});
|
||||
});
|
Loading…
Add table
Reference in a new issue