check store nullity in m.prop

This commit is contained in:
Juan Manuel Ventura 2014-08-22 01:18:36 +02:00
parent f803da2008
commit fd7b3e0803
2 changed files with 5 additions and 1 deletions

View file

@ -1508,6 +1508,10 @@ function testMithril(mock) {
return prop() === "test2"
})
test(function() {
var prop = m.prop(null)
return prop() === null
})
//m.request
test(function() {