Remove an erroneous npm-debug.log, disable failing test
Driveby fix: fix a few linter warnings and actually have CI linting things.
This commit is contained in:
parent
17acef768f
commit
55b99dd0e2
9 changed files with 136 additions and 145 deletions
|
|
@ -293,17 +293,18 @@ describe("m.deferred()", function () {
|
|||
prmA.resolve("A")
|
||||
prmB.resolve("B")
|
||||
|
||||
prmA.promise.then(function (A) {
|
||||
prmA.promise.then(function () {
|
||||
return prmB.promise
|
||||
}).then(function(B) {
|
||||
}).then(function (B) {
|
||||
expect(B).to.equal("B")
|
||||
})
|
||||
})
|
||||
|
||||
it("yields immutable promises", function () {
|
||||
var d = m.deferred()
|
||||
d.resolve(5)
|
||||
d.resolve(6)
|
||||
d.promise.then(function(v) {
|
||||
d.promise.then(function (v) {
|
||||
expect(v).to.equal(5)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue