@ithaka/bonsai
Version:
ITHAKA core styling
14 lines (12 loc) • 422 B
JavaScript
import { BonsaiBase } from "../js/bonsai.base";
describe("Test Bonsai Base", function () {
test("throws an error if no element is passed in", function () {
let expected_result = "Need to pass in an element to bind the given component";
try {
new BonsaiBase();
}
catch (actual_result) {
expect(actual_result.message).toBe(expected_result);
}
});
});