mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
* Bundle everything, commit 1 * Get everything working * Remove dependency on readable-stream * Adds a changeset * Fix ts errors * Use the node logger in tests * Callback the logger when done writing * Fix test helper to await the callback * Use serialize-javascript again * Remove dead code * Rename hook * Oops
14 lines
365 B
JavaScript
14 lines
365 B
JavaScript
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);
|
|
});
|
|
}
|
|
});
|