mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
* Initial tests set up This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test. Like in snowpack you set up a little project. In our tests you can say: ```js const result = await runtime.load('/blog/hello-world') ``` And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML. * Bring snowpack example in * Formatting
1.1 MiB
1762x766px
1.1 MiB
1762x766px
![](/Infrastructure/astro/raw/commit/3ddd3594f0afa613c75e7f9cf5e373a6d0269d18/examples/snowpack/public/img/snowpack-unbundled-example-2.png)