0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/snowpack/public/img
Matthew Phillips 2082001ff8
Add snowpack as an example project. (#11)
* 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
2021-03-19 17:17:38 -04:00
..
guides
logos
news
backpack.svg
banner-2.jpg
browser-logos-all.png
extra-space-3.jpg
extra-space-4.jpg
extra-space-4.mp4
how-does-it-work.jpg
JSAwardWinner.jpg
JSAwardWinner.png
logo.png
nomodule.png
plug-light.svg
plug-regular.svg
post-snowpackv3-esbuild.png
post-snowpackv3-jsapi.png
post-snowpackv3-routes.png
post-snowpackv3-runtime.png
react-guide.png
react-snarky-tweet-2.png
react-snarky-tweet.png
ReactGuide.jpg
rocket-solid.svg
snowpack-27-screenshot-1.png
snowpack-27-screenshot-2.png
snowpack-27-screenshot-3.png
snowpack-build-example.png
snowpack-build-mov.mov
snowpack-dev-example.png
snowpack-dev-startup-2.png
snowpack-dev-startup.png
snowpack-logo-black.png
snowpack-logo-dark.png
snowpack-logo-white.png
snowpack-unbundled-example-2.png
snowpack-unbundled-example-3.png
snowpack-unbundled-example.png
snowpack-wordmark-black.png
snowpack-wordmark-white.png
snowpackskypack.mp4
snowpackskypack.webm
social-2.jpg
social-2.png
social-3.jpg
social-4.jpg
social-4.png
social-snowpackv3.jpg
social.jpg
stat.jpg
streaming-imports-demo.mp4
streaming-imports-demo.webm
svelte-ts.png
SvelteGuide.jpg
treeshaking.jpg