diff options
author | 2021-03-24 11:45:38 -0400 | |
---|---|---|
committer | 2021-03-24 11:45:38 -0400 | |
commit | 3c24faa8cab428b17ba2f8e083f5296b1b931fe1 (patch) | |
tree | 940e2b6b68c2d7e895802fd451c7777f60c56eb6 /test/snowpack-integration.test.js | |
parent | 5c1cd5b1da446f51e535030072756126f7b038d7 (diff) | |
download | astro-3c24faa8cab428b17ba2f8e083f5296b1b931fe1.tar.gz astro-3c24faa8cab428b17ba2f8e083f5296b1b931fe1.tar.zst astro-3c24faa8cab428b17ba2f8e083f5296b1b931fe1.zip |
hmx ☞ astro (#22)
This changes all hmx files to astro files and updates all code to not reference hmx any more.
Diffstat (limited to 'test/snowpack-integration.test.js')
-rw-r--r-- | test/snowpack-integration.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/snowpack-integration.test.js b/test/snowpack-integration.test.js index 033f5587d..ebe21f274 100644 --- a/test/snowpack-integration.test.js +++ b/test/snowpack-integration.test.js @@ -52,7 +52,7 @@ async function* allPageFiles(root) { async function* allPages(root) { for await (let fileURL of allPageFiles(root)) { - let bare = fileURL.pathname.replace(/\.(hmx|md)$/, '').replace(/index$/, ''); + let bare = fileURL.pathname.replace(/\.(astro|md)$/, '').replace(/index$/, ''); yield '/' + pathRelative(root.pathname, bare); } |