Simple feedback server
This commit is contained in:
19
feedback-server/externs/node/SuiteContext.hx
Normal file
19
feedback-server/externs/node/SuiteContext.hx
Normal file
@@ -0,0 +1,19 @@
|
||||
package node;
|
||||
|
||||
/**
|
||||
An instance of `SuiteContext` is passed to each suite function in order to
|
||||
interact with the test runner. However, the `SuiteContext` constructor is not
|
||||
exposed as part of the API.
|
||||
**/
|
||||
@jsInaccessible extern class SuiteContext {
|
||||
function new();
|
||||
/**
|
||||
The name of the suite.
|
||||
**/
|
||||
final name : String;
|
||||
/**
|
||||
Can be used to abort test subtasks when the test has been aborted.
|
||||
**/
|
||||
final signal : js.html.AbortSignal;
|
||||
static var prototype : SuiteContext;
|
||||
}
|
||||
Reference in New Issue
Block a user