You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(`inheritance should work with computed`,()=>{classStore{
@computedgetgetNumber(){return1}}classSubStoreextendsStore{
@computedoverridegetgetNumber(){returnsuper.getNumber+1}}conststore=newSubStore()expect(store.getNumber).toBe(2)})
Actual outcome:
[MobX] Cycle detected in computation SubStore@1.getNumber: get getNumber() {
return super.getNumber + 1;
}
Intended outcome:
Actual outcome:
How to reproduce the issue:
As per unit test. Can see the error in stackblitz link
Versions
^6.12.3
The text was updated successfully, but these errors were encountered: