summaryrefslogtreecommitdiff
path: root/test/snowpack-integration.test.js
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-03-24 11:45:38 -0400
committerGravatar GitHub <noreply@github.com> 2021-03-24 11:45:38 -0400
commit3c24faa8cab428b17ba2f8e083f5296b1b931fe1 (patch)
tree940e2b6b68c2d7e895802fd451c7777f60c56eb6 /test/snowpack-integration.test.js
parent5c1cd5b1da446f51e535030072756126f7b038d7 (diff)
downloadastro-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.js2
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);
}