aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_promise_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.promise tests: Fix declared but unused variablesMatthew Wild2018-10-251-2/+2
|
* util.promise: Fix missing parametersMatthew Wild2018-10-251-2/+28
|
* util.promise: Ensure chained promises always receive a value/rejection even ↵Matthew Wild2018-10-251-0/+37
| | | | if an intermediate promise has no handlers
* util.promise: Add promise.try()Matthew Wild2018-10-181-0/+51
|
* util.promise: Add promise:finally()Matthew Wild2018-10-181-0/+67
|
* util.promise: Add additional test for promise.reject()Matthew Wild2018-10-181-0/+6
|
* util.promise: Fix promise.reject() to return a rejected promise, and fix ↵Matthew Wild2018-10-181-1/+1
| | | | buggy test for it
* util.promise tests: Fix luacheck warningsMatthew Wild2018-10-101-7/+6
|
* util.promise: ES6-like API for promisesMatthew Wild2018-10-101-0/+262