Something went wrong. Try again.
☢ Make Your React App Truly Reactive!
Something went wrong. Try again.
286 B · 11 lines
JavaScript
at master
123456789101112const reactify = require('../utils/reactify')
test('objects are made reactive', () => { const state = reactify({ }) expect(state.__isRadioactive__).toBe(true)})
test('arrays are made reactive', () => { const state = reactify([]) expect(state.__isRadioactive__).toBe(true)})