Files
kiss-flixel/feedback-server/externs/node/TestFn.hx

8 lines
358 B
Haxe

package node;
/**
The type of a function under test. The first argument to this function is a
{@link TestContext} object. If the test uses callbacks, the callback function is passed as
the second argument.
**/
typedef TestFn = (t:TestContext, done:ts.AnyOf2<() -> Void, (result:Dynamic) -> Void>) -> ts.AnyOf2<ts.Undefined, js.lib.Promise<ts.Undefined>>;