Sha256: 752fc917522965ff95f89ef13ffb0e719824fe4b49eae7effb26520958614135
Contents?: true
Size: 548 Bytes
Versions: 9
Compression:
Stored size: 548 Bytes
Contents
import { React, Snapshot, getScreenInstance } from 'hippo/testing/index'; import <%= class_name %> from '<%= identifier %>/screens/<%= screen_id %>'; const screenInstance = getScreenInstance('<%= screen_id %>'); describe('Screen <%= class_name %>', () => { it('renders and matches snapshot', () => { const screen = shallow(<<%= class_name %> screen={screenInstance} />); expect(screen).toHaveRendered('<%= class_name %>'); expect(Snapshot(<<%= class_name %> screen={screenInstance} />)).toMatchSnapshot(); }); });
Version data entries
9 entries across 9 versions & 1 rubygems