Skip to content

Commit

Permalink
Added test verifying #1528
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed May 3, 2018
1 parent b0ee838 commit 88aa33b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/base/typescript-tests.ts
Expand Up @@ -1642,3 +1642,11 @@ test("toJS bug #1413 (TS)", () => {
expect(res).toEqual({ test1: 1 })
expect(res.__mobxDidRunLazyInitializers).toBe(undefined)
})

test("verify #1528", () => {
const appState = mobx.observable({
timer: 0
})

expect(appState.timer).toBe(0)
})

0 comments on commit 88aa33b

Please sign in to comment.