Skip to content
Browse files
Merge pull request #848 from quanganhtran/master
Remove test case of typeof operator on observable array
  • Loading branch information
capaj committed Feb 28, 2017
2 parents ba95b09 + 611b9f3 commit 670c916a67a5fee077fd8bb889e7f963a3b4a1fe
Showing 1 changed file with 1 addition and 2 deletions.
@@ -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);

0 comments on commit 670c916

Please sign in to comment.