diff --git a/__mocks__/style.js b/__mocks__/style.js new file mode 100644 index 0000000..b04249f --- /dev/null +++ b/__mocks__/style.js @@ -0,0 +1,4 @@ +// Return a Proxy to emulate css modules (if you are using them) + +var idObj = require('identity-obj-proxy'); +module.exports = idObj; diff --git a/__tests__/Title-test.js b/__tests__/Title-test.js index cc49473..aad3ba9 100644 --- a/__tests__/Title-test.js +++ b/__tests__/Title-test.js @@ -8,7 +8,7 @@ import Title from '../src/components/Title'; describe('Title', () => { - it('changes the text after click', () => { + it('should have a text', () => { // Render a checkbox with label in the document const title = TestUtils.renderIntoDocument(