Added test to ensure all operations are in a category. Added various operations to categories.
This commit is contained in:
@@ -13,13 +13,14 @@
|
||||
import {
|
||||
setLongTestFailure,
|
||||
logTestReport,
|
||||
} from "../lib/utils";
|
||||
} from "../lib/utils.mjs";
|
||||
|
||||
import TestRegister from "../lib/TestRegister.mjs";
|
||||
import "./tests/nodeApi";
|
||||
import "./tests/operations";
|
||||
import "./tests/File";
|
||||
import "./tests/NodeDish";
|
||||
import "./tests/nodeApi.mjs";
|
||||
import "./tests/operations.mjs";
|
||||
import "./tests/File.mjs";
|
||||
import "./tests/Dish.mjs";
|
||||
import "./tests/NodeDish.mjs";
|
||||
|
||||
const testStatus = {
|
||||
allTestsPassing: true,
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import TestRegister from "../../lib/TestRegister.mjs";
|
||||
import Dish from "../../../src/core/Dish.mjs";
|
||||
import it from "../../node/assertionHandler.mjs";
|
||||
import assert from "assert";
|
||||
|
||||
TestRegister.addApiTests([
|
||||
it("Dish - presentAs: should exist", () => {
|
||||
const dish = new Dish();
|
||||
assert(dish.presentAs);
|
||||
}),
|
||||
|
||||
]);
|
||||
Reference in New Issue
Block a user