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:26 +02:00 committed by GitHub
parent 8fb62c49ef
commit a84504fef3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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