Sha256: 100511dfb1f134fd9475181716fd602c971bf4098c9b80a47a039b92c7004783
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
import React from 'react'; import { Snapshot } from 'hippo/testing/screens'; import Settings from 'hippo/screens/system-settings'; import Instance from 'hippo/screens/instance'; import { getTestScreen } from '../test-models'; describe('SystemSettings Screen', () => { let definition; let instance; beforeEach(() => { definition = getTestScreen(); instance = new Instance({ definition, isActive: true }); }); it('renders', () => { const settings = mount(<Settings screen={instance} />); expect(settings).toHaveRendered('Screen'); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hippo-fw-0.9.5 | spec/client/screens/system-settings.spec.jsx |