Files
kiss-flixel/feedback-server/externs/global/TestPass.hx

45 lines
792 B
Haxe

package global;
typedef TestPass = {
/**
Additional execution metadata.
**/
var details : {
/**
The duration of the test in milliseconds.
**/
var duration_ms : Float;
/**
The type of the test, used to denote whether this is a suite.
**/
@:optional
var type : String;
};
/**
The test name.
**/
var name : String;
/**
The nesting level of the test.
**/
var nesting : Float;
/**
The ordinal number of the test.
**/
var testNumber : Float;
/**
Present if `context.todo` is called.
**/
@:optional
var todo : ts.AnyOf2<String, Bool>;
/**
Present if `context.skip` is called.
**/
@:optional
var skip : ts.AnyOf2<String, Bool>;
/**
The path of the test file, undefined if test is not ran through a file.
**/
@:optional
var file : String;
};