chalk/testez.d.lua

21 lines
827 B
Lua
Raw Normal View History

2023-04-03 16:15:27 -07:00
declare function afterAll(testFn: () -> ()): ()
declare function afterEach(testFn: () -> ()): ()
declare function beforeAll(testFn: () -> ()): ()
declare function beforeEach(testFn: () -> ()): ()
declare function describe(phrase: string, testFn: () -> ()): ()
declare function expect(value: any): { [string]: (...any) -> () }
declare function fdescribe(phrase: string, testFn: () -> ()): ()
declare function fit(phrase: string, testFn: (done: (() -> ())?) -> ()): ()
declare function it(phrase: string, testFn: (done: (() -> ())?) -> ()): ()
declare function itFIXME(phrase: string, testFn: (done: (() -> ())?) -> ()): ()
declare function xdescribe(phrase: string, testFn: () -> ()): ()
declare function xit(phrase: string, testFn: (done: (() -> ())?) -> ()): ()
declare function FOCUS(): ()
declare function SKIP(): ()