| 121 | describe('getCreateEffectMetadata', () => { |
| 122 | it('should get the effects metadata for a class instance', () => { |
| 123 | class Fixture { |
| 124 | a = createEffect(() => of({ type: 'a' })); |
| 125 | b = createEffect(() => of({ type: 'b' }), { dispatch: true }); |
| 126 | c = createEffect(() => of({ type: 'c' }), { dispatch: false }); |
| 127 | d = createEffect(() => of({ type: 'd' }), { |
| 128 | useEffectsErrorHandler: true, |
| 129 | functional: false, |
| 130 | }); |
| 131 | e = createEffect(() => of({ type: 'd' }), { |
| 132 | useEffectsErrorHandler: false, |
| 133 | functional: true, |
| 134 | }); |
| 135 | f = createEffect(() => of({ type: 'e' }), { |
| 136 | dispatch: false, |
| 137 | functional: true, |
| 138 | useEffectsErrorHandler: false, |
| 139 | }); |
| 140 | g = createEffect(() => of({ type: 'e' }), { |
| 141 | dispatch: true, |
| 142 | useEffectsErrorHandler: false, |
| 143 | }); |
| 144 | } |
| 145 | |
| 146 | const mock = new Fixture(); |
| 147 |
nothing calls this directly
no test coverage detected