Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegach committed May 6, 2024
1 parent d2f7fe8 commit dfa82ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/snippets/common/before-each-in-meta-mock-date.js.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```ts
// Page.stories.ts
```js
// Page.stories.js
import MockDate from 'mockdate';

import { getUserFromSession } from '#api/session.mock';
Expand All @@ -18,7 +18,7 @@ export default {
},
};

export const Default: Story = {
export const Default = {
async play({ canvasElement }) {
// ... This will run with the mocked Date
},
Expand Down

0 comments on commit dfa82ab

Please sign in to comment.