Skip to content

Commit

Permalink
test(client-api): add context type and add viewMode
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Sep 13, 2020
1 parent 8746df2 commit 21640f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/client-api/src/decorators.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ function makeContext(input: Record<string, any>): StoryContext {
id: 'id',
kind: 'kind',
name: 'name',
viewMode: 'story',
parameters: {},
...input,
};
} as StoryContext;
}

describe('client-api.decorators', () => {
Expand Down

0 comments on commit 21640f8

Please sign in to comment.