Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
case
case(name: string, test: (expect:(value: any) -> Expectation) ->()) -> ()
expect
case("adds two numbers", function(expect) local result = 2 + 3 expect(result).is(5) end)
group
group(name: string, test: () ->()) -> ()
group("Math utilities", function() case("adds numbers", function(expect) expect(2 + 2).is(4) end) case("multiplies numbers", function(expect) expect(3 * 4).is(12) end) end)
blob
blob(name: string) -> Blob?
local data = test.blob("fixtures")
Was this page helpful?