diff options
author | 2021-03-19 17:17:38 -0400 | |
---|---|---|
committer | 2021-03-19 17:17:38 -0400 | |
commit | 2082001ff8702ec48072b59caafe85573a3b2891 (patch) | |
tree | d160341cc51dd39e562a209cad6db168f768a259 /examples/snowpack/public/img/plug-light.svg | |
parent | 17c3c98f07628b43b941b84831e8e1f9bcd7ca46 (diff) | |
download | astro-2082001ff8702ec48072b59caafe85573a3b2891.tar.gz astro-2082001ff8702ec48072b59caafe85573a3b2891.tar.zst astro-2082001ff8702ec48072b59caafe85573a3b2891.zip |
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
Diffstat (limited to 'examples/snowpack/public/img/plug-light.svg')
-rw-r--r-- | examples/snowpack/public/img/plug-light.svg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/snowpack/public/img/plug-light.svg b/examples/snowpack/public/img/plug-light.svg new file mode 100644 index 000000000..371e561ea --- /dev/null +++ b/examples/snowpack/public/img/plug-light.svg @@ -0,0 +1 @@ +<svg aria-hidden="true" focusable="false" data-prefix="fal" data-icon="plug" class="svg-inline--fa fa-plug fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="#2e5e82" d="M352,128H304V16a16,16,0,0,0-32,0V128H112V16a16,16,0,0,0-32,0V128H32A32,32,0,0,0,0,160v32a32,32,0,0,0,32,32v32c0,82.75,63.37,150.22,144,158.38V512h32V414.38c80.63-8.16,144-75.63,144-158.38V224a32,32,0,0,0,32-32V160A32,32,0,0,0,352,128ZM320,256a128,128,0,0,1-256,0V224H320Zm32-64H32V160H352Z"></path></svg>
\ No newline at end of file |