mirror of
https://github.com/lucaspalomodevelop/JSSTE.git
synced 2026-03-13 15:24:34 +00:00
18 lines
489 B
JavaScript
18 lines
489 B
JavaScript
let libfolder = "../src/";
|
|
let JSSTE_Engine = require(libfolder);
|
|
const { assert } = require("chai");
|
|
|
|
function test() {
|
|
describe("test State", function () {
|
|
it(" set stateFunction", function () {
|
|
JSSTE_Engine.setStateFunction(({ status, statusMSG }) => {});
|
|
assert.typeOf(JSSTE_Engine.setStateFunction, "function");
|
|
});
|
|
it(" is setState a function", function () {
|
|
assert.typeOf(JSSTE_Engine.setState,"function")
|
|
});
|
|
});
|
|
}
|
|
|
|
module.exports = test;
|