Skip to content
Browse files
Remove test case of typeof operator on observable array
  • Loading branch information
ado committed Feb 23, 2017
1 parent 3ba2d24 commit 611b9f36548186ef0f1ecb8d76cffbf268fef703
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 611b9f3

Please sign in to comment.