First file translated to lua

This commit is contained in:
Matt Hargett 2023-04-03 16:15:27 -07:00
parent a370f468a4
commit f1533bfd9c
12 changed files with 742 additions and 261 deletions

20
testez.d.lua Normal file
View file

@ -0,0 +1,20 @@
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(): ()