Optional afterA custom function, which should be executed AFTER ALL tests. This is executed once.
Optional afterA custom function, which should be executed AFTER EACH tests.
Optional allowAllow empty test settings or not.
false
Optional beforeA custom function, which should be executed BEFORE ALL tests. This is executed once.
Optional beforeA custom function, which should be executed BEFORE EACH tests.
Optional exitThe exit code, which should be used to exit the process automatically, after the tests ran successfully,
while false indicates NOT to exit the process automatically.
0
Optional exitThe exit code, which should be used to exit the process automatically, after the tests ran with errors,
while false indicates NOT to exit the process automatically.
1
Optional requiresIf no settings are specified, a module file with it is required.
true
Optional requiresThis is value indicates, that all endpoints require at least one test.
true
Optional timeoutCustom value for a (default) timeout for tests, in ms.
5000
Generated using TypeDoc
Options for server tests.