mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-08 12:41:33 +02:00
38 lines
704 B
JavaScript
38 lines
704 B
JavaScript
/* eslint no-console: 0 */
|
|
|
|
/**
|
|
* Node API Test Runner
|
|
*
|
|
* @author d98762625 [d98762625@gmail.com]
|
|
* @author tlwr [toby@toby.codes]
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2018
|
|
* @license Apache-2.0
|
|
*/
|
|
|
|
import {
|
|
setLongTestFailure,
|
|
logTestReport,
|
|
} from "../lib/utils";
|
|
|
|
import TestRegister from "../lib/TestRegister";
|
|
import "./tests/nodeApi";
|
|
import "./tests/operations";
|
|
import "./tests/File";
|
|
import "./tests/NodeDish";
|
|
|
|
const testStatus = {
|
|
allTestsPassing: true,
|
|
counts: {
|
|
total: 0,
|
|
}
|
|
};
|
|
|
|
setLongTestFailure();
|
|
|
|
const logOpsTestReport = logTestReport.bind(null, testStatus);
|
|
|
|
TestRegister.runApiTests()
|
|
.then(logOpsTestReport);
|
|
|