aboutsummaryrefslogtreecommitdiff
path: root/packages/astro/test/custom-404.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/custom-404.test.js')
-rw-r--r--packages/astro/test/custom-404.test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/astro/test/custom-404.test.js b/packages/astro/test/custom-404.test.js
index 099fa5aad..a3294d9b1 100644
--- a/packages/astro/test/custom-404.test.js
+++ b/packages/astro/test/custom-404.test.js
@@ -8,6 +8,7 @@ describe('Custom 404', () => {
before(async () => {
fixture = await loadFixture({
root: './fixtures/custom-404/',
+ site: 'http://example.com',
});
});
@@ -35,7 +36,7 @@ describe('Custom 404', () => {
$ = cheerio.load(html);
expect($('h1').text()).to.equal('Page not found');
- expect($('p').text()).to.equal('/a/');
+ expect($('p').text()).to.equal('/a');
});
});
});