Skip to content

Commit

Permalink
test: update outdated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Dec 18, 2024
1 parent bd7d337 commit 786d921
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/configure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ test.group('Frameworks | SSR', (group) => {
* Data that should be shared with all rendered pages
*/
sharedData: {
errors: (ctx) => ctx.session?.flashMessages.get('errors'),
errors: (ctx) => ctx.inertia.always(() => ctx.session?.flashMessages.get('errors')),
},
/**
Expand Down Expand Up @@ -299,7 +299,7 @@ test.group('Frameworks | SSR', (group) => {
* Data that should be shared with all rendered pages
*/
sharedData: {
errors: (ctx) => ctx.session?.flashMessages.get('errors'),
errors: (ctx) => ctx.inertia.always(() => ctx.session?.flashMessages.get('errors')),
},
/**
Expand Down Expand Up @@ -352,7 +352,7 @@ test.group('Frameworks | SSR', (group) => {
* Data that should be shared with all rendered pages
*/
sharedData: {
errors: (ctx) => ctx.session?.flashMessages.get('errors'),
errors: (ctx) => ctx.inertia.always(() => ctx.session?.flashMessages.get('errors')),
},
/**
Expand Down

0 comments on commit 786d921

Please sign in to comment.