Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // Selectors Spec file is only necessary if you use the Component Selectors file. import selectors from './ExampleComponent.selectors.js'; import assert from 'assert'; const { selector } = selectors; describe('ExampleComponent selectors', () => { describe('Example selector', () => { it('should return true', () => { const state = { number: 2, }; assert.equal(selector(state), true, 'must be a number'); }); }); }); |