diff --git a/src/example.js b/src/example.js index 6c65f0f9..d60c13bc 100644 --- a/src/example.js +++ b/src/example.js @@ -133,7 +133,7 @@ class Example extends Component { onChangeText={(e) => { console.log('TextInput.onChangeText', e) }} onFocus={(e) => { console.log('TextInput.onFocus', e) }} /> - + diff --git a/src/modules/filterObjectProps/index.spec.js b/src/modules/filterObjectProps/index.spec.js index b6948c8d..95aebeeb 100644 --- a/src/modules/filterObjectProps/index.spec.js +++ b/src/modules/filterObjectProps/index.spec.js @@ -2,14 +2,6 @@ import { omitProps, pickProps } from '.' import assert from 'assert' suite('pickProps', () => { - test('interface', () => { - assert.throws( - () => { pickProps({}, true) }, - TypeError, - 'pickProps should throw if the second argument is not an array' - ) - }) - test('return value', () => { const obj = { a: 1, b: 2, c: { cc: { ccc: 3 } } } const props = [ 'a', 'b' ] @@ -21,14 +13,6 @@ suite('pickProps', () => { }) suite('omitProps', () => { - test('interface', () => { - assert.throws( - () => { omitProps({}, true) }, - TypeError, - 'omitProps should throw if the second argument is not an array' - ) - }) - test('return value', () => { const obj = { a: 1, b: 2, c: { cc: { ccc: 3 } } } const props = [ 'a', 'b' ] diff --git a/src/modules/specHelpers/index.js b/src/modules/specHelpers/index.js index 472a7625..a550031f 100644 --- a/src/modules/specHelpers/index.js +++ b/src/modules/specHelpers/index.js @@ -36,7 +36,7 @@ export const assertProps = { accessible: function (Component) { // accessible - let dom = renderToDOM() + let dom = renderToDOM() assert.equal(dom.getAttribute('aria-hidden'), null) // not accessible dom = renderToDOM()