2082001ff8
* 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
13 lines
No EOL
722 B
XML
13 lines
No EOL
722 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg width="52px" height="12px" viewBox="0 0 52 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>buttons</title>
|
|
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
<g id="window" transform="translate(-15.000000, -13.000000)">
|
|
<g id="buttons" transform="translate(15.000000, 13.000000)">
|
|
<circle id="Oval" fill="#1479B8" cx="6" cy="6" r="6"></circle>
|
|
<circle id="Oval" fill="#58B2EA" cx="26" cy="6" r="6"></circle>
|
|
<circle id="Oval" fill="#6FC8FF" cx="46" cy="6" r="6"></circle>
|
|
</g>
|
|
</g>
|
|
</g>
|
|
</svg> |