Update docs/_snippets/mount-basic.md

Co-authored-by: Yann Braga <yannbf@gmail.com>
This commit is contained in:
Kasper Peulen 2024-07-08 11:31:19 +02:00 committed by GitHub
parent 530b337561
commit 8fb62c49ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ import MockDate from 'mockdate';
// ...
export const ChristmasUI: Story = {
async play({ canvasElement }) {
async play({ mount }) {
MockDate.set('2024-12-25');
// 👇Render the component with the mocked date
await mount();