summaryrefslogtreecommitdiff
path: root/test/hmx-basic.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24hmx ☞ astro (#22)Gravatar Matthew Phillips 1-38/+0
This changes all hmx files to astro files and updates all code to not reference hmx any more.
2021-03-22fix broken testsGravatar Fred K. Schott 1-1/+1
2021-03-19Initial tests set up (#10)Gravatar Matthew Phillips 1-0/+38
* Begin debugging * 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. * Add CI * Remove extra console logs * Formatting