We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01c455 commit b6ae723Copy full SHA for b6ae723
src/__tests__/app.spec.js
@@ -0,0 +1,9 @@
1
+import { render } from '@testing-library/react';
2
+import '@testing-library/jest-dom/extend-expect';
3
+import App from '../app.jsx';
4
+
5
+it('should take a snapshot', () => {
6
+ const { asFragment } = render(<App />)
7
8
+ expect(asFragment(<App />)).toMatchSnapshot()
9
+});
0 commit comments