summaryrefslogtreecommitdiff
path: root/packages/db/test/static-remote.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/test/static-remote.test.js')
-rw-r--r--packages/db/test/static-remote.test.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/db/test/static-remote.test.js b/packages/db/test/static-remote.test.js
index 7adcf6976..492a0d385 100644
--- a/packages/db/test/static-remote.test.js
+++ b/packages/db/test/static-remote.test.js
@@ -30,5 +30,12 @@ describe('astro:db', () => {
expect($('li').length).to.equal(1);
});
+
+ it('Returns correct shape from db.run()', async () => {
+ const html = await fixture.readFile('/run/index.html');
+ const $ = cheerioLoad(html);
+
+ expect($('#row').text()).to.equal('1');
+ });
});
});