0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/deno/test/basics.test.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
365 B
JavaScript
Raw Normal View History

import { runBuildAndStartApp } from './helpers.js';
import { assertEquals, assert } from './deps.js';
Deno.test({
name: 'Basics',
async fn() {
await runBuildAndStartApp('./fixtures/basics/', async () => {
const resp = await fetch('http://127.0.0.1:8085/');
assertEquals(resp.status, 200);
const html = await resp.text();
assert(html);
});
}
});