Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Aug 29, 2024
1 parent 59969dd commit a382c70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/astro/test/static-build-page-dist-url.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ describe('Static build: pages routes have distURL', () => {
it('Pages routes have distURL', async () => {
assert.equal(checkRoutes.length > 0, true, 'Pages not found: build end hook not being called');
checkRoutes.forEach((p) => {
assert.equal(p.distURL instanceof URL, true, `${p.pathname} doesn't include distURL`);
p.distURL.forEach((distURL) => {
assert.equal(distURL instanceof URL, true, `${p.pathname} doesn't include distURL`);
})
});
});
});

0 comments on commit a382c70

Please sign in to comment.