Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jan 16, 2025
1 parent c222651 commit 8961688
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/astro/test/units/integrations/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ describe('Integration API', () => {
assert.deepEqual(
routes,
[
{
isPrerendered: false,
entrypoint: '_server-islands.astro',
pattern: '/_server-islands/[name]',
params: ['name'],
origin: 'internal',
},
{
isPrerendered: false,
entrypoint: '../../../../dist/actions/runtime/route.js',
Expand Down Expand Up @@ -222,6 +229,13 @@ describe('Integration API', () => {
assert.deepEqual(
routes,
[
{
isPrerendered: false,
entrypoint: '_server-islands.astro',
pattern: '/_server-islands/[name]',
params: ['name'],
origin: 'internal',
},
{
isPrerendered: false,
entrypoint: '../../../../dist/actions/runtime/route.js',
Expand Down Expand Up @@ -277,6 +291,13 @@ describe('Integration API', () => {
assert.deepEqual(
routes,
[
{
isPrerendered: false,
entrypoint: '_server-islands.astro',
pattern: '/_server-islands/[name]',
params: ['name'],
origin: 'internal',
},
{
isPrerendered: false,
entrypoint: '../../../../dist/actions/runtime/route.js',
Expand Down

0 comments on commit 8961688

Please sign in to comment.