Skip to content

Commit

Permalink
Add snapshot testing for hot reloading images
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh authored and imjoshin committed Jan 19, 2022
1 parent 3e1ea7f commit 9f75635
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions e2e-tests/development-runtime/src/pages/sample.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

import * as React from 'react';

import Layout from '../components/layout';

export default function SomeComponent() {
return (
<Layout>
<h1 data-testid="message">Hello %REPLACEMENT%</h1>
</Layout>
)
}

0 comments on commit 9f75635

Please sign in to comment.