Sha256: 2b093d27714e7799e937e35f9ddaac09bc60db67496e9ff2e256a1a3fdce6c98
Contents?: true
Size: 716 Bytes
Versions: 5
Compression:
Stored size: 716 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils'; import { expandableContent } from './helpers'; const fixtures = { 'should return no errors': () => expandableContent({}), 'should return additional info': () => expandableContent({ additionalInfo: 'This is additional info' }), 'should return additional error': () => expandableContent({ additionalErrors: 'These are additional errors' }), 'should return attribute errors': () => expandableContent({ errors: { base: ['could not be processed'], name: ["can't be blank", 'has invalid format'], }, }), }; describe('expandableContent', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
5 entries across 5 versions & 1 rubygems