Skip to content

Commit

Permalink
Merge pull request #848 from quanganhtran/master
Browse files Browse the repository at this point in the history
Remove test case of typeof operator on observable array
  • Loading branch information
capaj committed Feb 28, 2017
2 parents ba95b09 + 611b9f3 commit 670c916
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/array.js
Expand Up @@ -268,8 +268,7 @@ test('is array', function(t) {
var x = mobx.observable([]);
t.equal(x instanceof Array, true);

// would be cool if these two would return true...
t.equal(typeof x === "array", false);
// would be cool if this would return true...
t.equal(Array.isArray(x), false);
t.end();
})
Expand Down

0 comments on commit 670c916

Please sign in to comment.