File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/dfx/assets/project_templates/react_tests/src/__frontend_name__/src/tests Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ describe('App', () => {
1010 < App />
1111 </ StrictMode > ,
1212 ) ;
13- 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>"' ) ;
13+ 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>"' ) ;
1414 expect ( 1 ) . toEqual ( 1 ) ;
1515 } ) ;
1616} ) ;
You can’t perform that action at this time.
0 commit comments