summaryrefslogtreecommitdiff
path: root/packages/db/test/static-remote.test.js
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2024-05-22 09:16:49 +0100
committerGravatar GitHub <noreply@github.com> 2024-05-22 09:16:49 +0100
commit05ef10cdc38878746c91e9032ccb57002ad66963 (patch)
treea12d925e7b54d6535dc5c1c2097fcefb3dd08aae /packages/db/test/static-remote.test.js
parent9ddd6387a7e70d1111dd4a60450d3c710325380c (diff)
downloadastro-05ef10cdc38878746c91e9032ccb57002ad66963.tar.gz
astro-05ef10cdc38878746c91e9032ccb57002ad66963.tar.zst
astro-05ef10cdc38878746c91e9032ccb57002ad66963.zip
chore(db): move tests to node runner (#11109)
Diffstat (limited to 'packages/db/test/static-remote.test.js')
-rw-r--r--packages/db/test/static-remote.test.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/db/test/static-remote.test.js b/packages/db/test/static-remote.test.js
index 492a0d385..42b18b1a4 100644
--- a/packages/db/test/static-remote.test.js
+++ b/packages/db/test/static-remote.test.js
@@ -1,4 +1,5 @@
-import { expect } from 'chai';
+import { describe, it, before, after } from "node:test";
+import assert from "node:assert/strict";
import { load as cheerioLoad } from 'cheerio';
import { loadFixture } from '../../astro/test/test-utils.js';
import { setupRemoteDbServer } from './test-utils.js';
@@ -28,7 +29,7 @@ describe('astro:db', () => {
const html = await fixture.readFile('/index.html');
const $ = cheerioLoad(html);
- expect($('li').length).to.equal(1);
+ assert.equal($('li').length, 1)
});
it('Returns correct shape from db.run()', async () => {