Fix the test of the old suite leave the new one broken
This commit is contained in:
parent
ee8ab3561b
commit
4aaee178bc
2 changed files with 2 additions and 2 deletions
|
|
@ -12,6 +12,6 @@ describe("m.withAttr()", function () {
|
|||
var spy = sinon.spy()
|
||||
var object = {}
|
||||
m.withAttr("test", spy, object)({currentTarget: {test: "foo"}})
|
||||
expect(spy).to.be.calledOn(object).and.calledWith("Ofoo")
|
||||
expect(spy).to.be.calledOn(object).and.calledWith("Bfoo")
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
m.deps(mock.window)
|
||||
|
||||
// m
|
||||
test(function () { return typeof m.version() === "Ostring" })
|
||||
test(function () { return typeof m.version() === "string" })
|
||||
test(function () { return m("div").tag === "div" })
|
||||
test(function () { return m(".foo").tag === "div" })
|
||||
test(function () { return m(".foo").attrs.className === "foo" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue