Skip to content

Commit

Permalink
Trying to reproduce #100
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jan 28, 2016
1 parent 3c41714 commit e8774e5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,14 @@ test('strict', function(t) {
});
});
t.end();
})
})

test('issue 100', function(t) {
var that = {};
mobservable.extendObservable(that, {
myMap: map()
})
t.equal(mobservable.isObservableMap(that.myMap), true);
t.equal(typeof that.myMap.observe, "function");
t.end();
});

0 comments on commit e8774e5

Please sign in to comment.