(value: any)
| 158 | |
| 159 | test('non-observable values', () => { |
| 160 | const assertValue = (value: any) => { |
| 161 | expect(isReactive(reactive(value))).toBe(false) |
| 162 | expect(reactive(value)).toBe(value) |
| 163 | // expect(warnSpy).toHaveBeenLastCalledWith(`value cannot be made reactive: ${String(value)}`); |
| 164 | } |
| 165 | |
| 166 | // number |
| 167 | assertValue(1) |
no test coverage detected
searching dependent graphs…