|
| 1 | +import { |
| 2 | + composeReducers, |
| 3 | + ConnectArrayDirective, |
| 4 | + ConnectArrayTemplate, |
| 5 | + ConnectBase, |
| 6 | + ConnectDirective, |
| 7 | + defaultFormReducer, |
| 8 | + FORM_CHANGED, |
| 9 | + FormException, |
| 10 | + FormStore, |
| 11 | + formStoreFactory, |
| 12 | + NgReduxFormConnectArrayModule, |
| 13 | + NgReduxFormConnectModule, |
| 14 | + NgReduxFormModule, |
| 15 | + provideReduxForms, |
| 16 | + ReactiveConnectDirective, |
| 17 | +} from './index'; |
| 18 | + |
| 19 | +describe('The @angular-redux/form package exports', () => { |
| 20 | + it('should contain the composeReducers function', () => { |
| 21 | + expect(composeReducers).toBeDefined(); |
| 22 | + }); |
| 23 | + |
| 24 | + it('should contain the ConnectArrayDirective class', () => { |
| 25 | + expect(ConnectArrayDirective).toBeDefined(); |
| 26 | + }); |
| 27 | + |
| 28 | + it('should contain the ConnectArrayTemplate class', () => { |
| 29 | + expect(ConnectArrayTemplate).toBeDefined(); |
| 30 | + }); |
| 31 | + |
| 32 | + it('should contain the ConnectBase class', () => { |
| 33 | + expect(ConnectBase).toBeDefined(); |
| 34 | + }); |
| 35 | + |
| 36 | + it('should contain the ConnectDirective class', () => { |
| 37 | + expect(ConnectDirective).toBeDefined(); |
| 38 | + }); |
| 39 | + |
| 40 | + it('should contain the defaultFormReducer function', () => { |
| 41 | + expect(defaultFormReducer).toBeDefined(); |
| 42 | + }); |
| 43 | + |
| 44 | + it('should contain the FORM_CHANGED const', () => { |
| 45 | + expect(FORM_CHANGED).toBeDefined(); |
| 46 | + }); |
| 47 | + |
| 48 | + it('should contain the FormException class', () => { |
| 49 | + expect(FormException).toBeDefined(); |
| 50 | + }); |
| 51 | + |
| 52 | + it('should contain the FormStore class', () => { |
| 53 | + expect(FormStore).toBeDefined(); |
| 54 | + }); |
| 55 | + |
| 56 | + it('should contain the formStoreFactory function', () => { |
| 57 | + expect(formStoreFactory).toBeDefined(); |
| 58 | + }); |
| 59 | + |
| 60 | + it('should contain the NgReduxFormConnectArrayModule class', () => { |
| 61 | + expect(NgReduxFormConnectArrayModule).toBeDefined(); |
| 62 | + }); |
| 63 | + |
| 64 | + it('should contain the NgReduxFormConnectModule class', () => { |
| 65 | + expect(NgReduxFormConnectModule).toBeDefined(); |
| 66 | + }); |
| 67 | + |
| 68 | + it('should contain the NgReduxFormModule class', () => { |
| 69 | + expect(NgReduxFormModule).toBeDefined(); |
| 70 | + }); |
| 71 | + |
| 72 | + it('should contain the provideReduxForms function', () => { |
| 73 | + expect(provideReduxForms).toBeDefined(); |
| 74 | + }); |
| 75 | + |
| 76 | + it('should contain the ReactiveConnectDirective class', () => { |
| 77 | + expect(ReactiveConnectDirective).toBeDefined(); |
| 78 | + }); |
| 79 | +}); |
0 commit comments