Test updates

pull/1451/head
Rick Carlino 2019-09-23 10:17:19 -05:00
parent af29d10a82
commit c1ca5cb753
2 changed files with 8 additions and 1 deletions

View File

@ -1 +0,0 @@
module.exports = {};

View File

@ -0,0 +1,8 @@
import { safeEveryPointType } from "../sequences/locals_list/location_form_list";
describe("safeEveryPointType", () => {
it("crashes on unknown values", () => {
const boom = () => safeEveryPointType("nope");
expect(boom).toThrowError("'nope' is not of type EveryPointType");
});
});