check store nullity in m.prop
This commit is contained in:
parent
f803da2008
commit
fd7b3e0803
2 changed files with 5 additions and 1 deletions
|
|
@ -1508,6 +1508,10 @@ function testMithril(mock) {
|
|||
|
||||
return prop() === "test2"
|
||||
})
|
||||
test(function() {
|
||||
var prop = m.prop(null)
|
||||
return prop() === null
|
||||
})
|
||||
|
||||
//m.request
|
||||
test(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue