(context)
| 8 | } from '../src/' |
| 9 | |
| 10 | function isValidContext(context) { |
| 11 | expect(Object.keys(context)).toEqual( |
| 12 | expect.arrayContaining(['Provider', 'Consumer']) |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | it('should always create a valid default context', () => { |
| 17 | isValidContext(ProviderContext) |