summaryrefslogtreecommitdiff
path: root/packages/integrations/deno/test/basics.test.js
blob: 6f152d4f43373cc544fdca7656a33042e668507d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
		});
	},
});