Skip to content

Commit 670c916

Browse files
authored
Merge pull request mobxjs#848 from quanganhtran/master
Remove test case of typeof operator on observable array
2 parents ba95b09 + 611b9f3 commit 670c916

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎test/array.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ test('is array', function(t) {
268268
var x = mobx.observable([]);
269269
t.equal(x instanceof Array, true);
270270

271-
// would be cool if these two would return true...
272-
t.equal(typeof x === "array", false);
271+
// would be cool if this would return true...
273272
t.equal(Array.isArray(x), false);
274273
t.end();
275274
})

0 commit comments

Comments
 (0)