Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/kasper/model-loaders-as-before-e…
Browse files Browse the repository at this point in the history
…ach' into kasper/model-loaders-as-before-each
  • Loading branch information
kasperpeulen committed Nov 22, 2023
2 parents 9609e12 + b319f2d commit 038ec6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ describe('prepareStory', () => {
);

const storyContext = { context: 'value' } as any;
const loadedContext = await applyLoaders(storyContext);
const loadedContext = await applyLoaders({ ...storyContext });

expect(loader).toHaveBeenCalledWith({ ...storyContext, loaded: {} });
expect(loadedContext).toEqual({
Expand Down

0 comments on commit 038ec6f

Please sign in to comment.