add immutable presentAs method to Dish for node REPL display. add test for exact match help

This commit is contained in:
d98762625 2019-03-20 11:57:47 +00:00
parent 8f5f3e56cb
commit 8eed2232ee
5 changed files with 55 additions and 11 deletions

12
tests/operations/Dish.mjs Normal file
View file

@ -0,0 +1,12 @@
import TestRegister from "../../lib/TestRegister";
import Dish from "../../src/core/Dish";
import it from "../node/assertionHandler";
import assert from "assert";
TestRegister.addApiTests([
it("Dish - presentAs: should exist", () => {
const dish = new Dish();
assert(dish.presentAs);
}),
]);