blob: 9c73d719f848b3f7ed7d203135438a565023a20a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { suite } from 'uvu';
import * as assert from 'uvu/assert';
import { doc } from './test-utils.js';
import { setup } from './helpers.js';
const Expressions = suite('Expressions');
setup(Expressions, './fixtures/astro-expr');
Expressions('Can load page', async ({ runtime }) => {
const result = await runtime.load('/');
console.log(result);
assert.equal(result.statusCode, 200);
console.log(result.contents);
});
Expressions.run();
|