mirror of
https://github.com/AmberGraceRblx/luau-promise.git
synced 2025-04-24 23:50:03 +00:00
Fix casing
This commit is contained in:
parent
7fc6fc90f0
commit
a4256062a0
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ return function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe("Promise.delay", function()
|
describe("Promise.delay", function()
|
||||||
it("Should schedule promise resolution", function()
|
it("should schedule promise resolution", function()
|
||||||
local promise = Promise.delay(1)
|
local promise = Promise.delay(1)
|
||||||
|
|
||||||
expect(promise:getStatus()).to.equal(Promise.Status.Started)
|
expect(promise:getStatus()).to.equal(Promise.Status.Started)
|
||||||
|
@ -202,7 +202,7 @@ return function()
|
||||||
expect(promise:getStatus()).to.equal(Promise.Status.Resolved)
|
expect(promise:getStatus()).to.equal(Promise.Status.Resolved)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it("Should allow for delays to be cancelled", function()
|
it("should allow for delays to be cancelled", function()
|
||||||
local promise = Promise.delay(2)
|
local promise = Promise.delay(2)
|
||||||
|
|
||||||
Promise.delay(1):andThen(function()
|
Promise.delay(1):andThen(function()
|
||||||
|
|
Loading…
Reference in a new issue