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
6 lines
1.6 KiB
XML
6 lines
1.6 KiB
XML
<svg width="256" height="296" viewBox="0 0 256 296" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M128 0L256 73.9V221.7L128 295.6L0 221.7V73.9L128 0Z" fill="#673AB8"/>
|
|
<path d="M34.865 220.478C51.881 242.258 105.96 225.663 157.015 185.774C208.07 145.886 237.255 97.429 220.239 75.648C203.222 53.868 149.144 70.464 98.089 110.352C47.034 150.242 17.849 198.698 34.865 220.478ZM42.135 214.798C36.491 207.576 38.957 193.396 49.708 175.545C61.03 156.748 80.249 135.997 103.768 117.622C127.288 99.247 152.071 85.618 173.049 79.18C192.971 73.067 207.326 74.105 212.969 81.328C218.613 88.551 216.147 102.731 205.396 120.582C194.074 139.379 174.855 160.129 151.336 178.505C127.816 196.88 103.032 210.509 82.055 216.946C62.133 223.06 47.778 222.022 42.135 214.799V214.798Z" fill="white"/>
|
|
<path d="M220.239 220.478C237.256 198.698 208.07 150.241 157.015 110.352C105.96 70.464 51.88 53.868 34.865 75.648C17.848 97.428 47.034 145.886 98.089 185.774C149.144 225.663 203.222 242.259 220.239 220.478ZM212.969 214.798C207.326 222.022 192.971 223.06 173.049 216.946C152.071 210.509 127.288 196.88 103.769 178.505C80.249 160.129 61.029 139.379 49.709 120.582C38.957 102.731 36.491 88.552 42.134 81.328C47.778 74.105 62.133 73.067 82.054 79.18C103.032 85.618 127.816 99.247 151.335 117.622C174.855 135.997 194.074 156.748 205.395 175.545C216.147 193.395 218.613 207.575 212.969 214.799V214.798Z" fill="white"/>
|
|
<path d="M127.552 167.667C138.379 167.667 147.155 158.89 147.155 148.063C147.155 137.237 138.379 128.46 127.552 128.46C116.725 128.46 107.948 137.237 107.948 148.063C107.948 158.89 116.725 167.667 127.552 167.667V167.667Z" fill="white"/>
|
|
</svg>
|