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/guides/react
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
..
buttons.svg Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
folderstructure.png Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
hmr.gif Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
minimalist-hello-world-react-logo.png Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
minimalist-hello-world-react-timer.png Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
minimalist-hello-world-react.png Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
minimalist-hello-world.png Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
react-fast-refresh.gif Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
react.gif Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
snowpack-logo-tiny.svg Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00