Skip to content

Commit

Permalink
fix react tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondk committed Feb 11, 2025
1 parent 0048ac3 commit f66a3ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('App', () => {
<App />
</StrictMode>,
);
expect(document.body.innerHTML).toMatchInlineSnapshot('"<div><main class="container"><div class="card"><h1></h1><form action="#"><label for="name">Enter your name:</label><input type="text" id="name" required=""><button type="submit">Click Me!</button></form><img src="/logo.svg" alt="DFINITY logo" width="256"></div></main></div>"');
expect(document.body.innerHTML).toMatchInlineSnapshot('"<div><main class="container"><div class="card"><h1 id="greeting"></h1><form action="#"><label for="name">Enter your name:</label><input type="text" id="name" required=""><button type="submit">Click Me!</button></form><img src="/logo.svg" alt="DFINITY logo" width="256"></div></main></div>"');
expect(1).toEqual(1);
});
});

0 comments on commit f66a3ce

Please sign in to comment.