astro/test/astro-expr.test.js
2021-04-06 20:15:14 +00:00

18 lines
450 B
JavaScript

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();