Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Jan 14, 2025
1 parent 68fa84a commit 5e69c69
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,9 @@ describe('kit route processor', function () {

expect(route.layout_script).toMatchInlineSnapshot(`
export async function load(event) {
const __houdini__vite__plugin__return__value__ = {};
return {
...event.data,
...__houdini__vite__plugin__return__value__
...{}
};
}
`)
Expand Down Expand Up @@ -606,14 +604,13 @@ describe('kit route processor', function () {
throw err;
}
const __houdini__vite__plugin__return__value__ = {
...houdini_context.returnValue,
...result
};
return {
...context.data,
...__houdini__vite__plugin__return__value__
...{
...houdini_context.returnValue,
...result
}
};
}
`)
Expand Down Expand Up @@ -1175,14 +1172,13 @@ test('layout loads', async function () {
throw err;
}
const __houdini__vite__plugin__return__value__ = {
...houdini_context.returnValue,
...result
};
return {
...context.data,
...__houdini__vite__plugin__return__value__
...{
...houdini_context.returnValue,
...result
}
};
}
`)
Expand Down Expand Up @@ -1259,14 +1255,13 @@ test('layout inline query', async function () {
throw err;
}
const __houdini__vite__plugin__return__value__ = {
...houdini_context.returnValue,
...result
};
return {
...context.data,
...__houdini__vite__plugin__return__value__
...{
...houdini_context.returnValue,
...result
}
};
}
`)
Expand Down

0 comments on commit 5e69c69

Please sign in to comment.