Revert test

pull/769/head
Rick Carlino 2018-04-03 08:48:25 -05:00
parent 1d414c644a
commit 2ea0765543
1 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,7 @@ describe("findPlant()", () => {
console.warn = jest.fn();
const find = () => Selector.findPlant(fakeIndex, "bad");
expect(find).toThrowError();
expect(console.warn).toBeCalled();
});
});
@ -161,6 +162,7 @@ describe("getSequenceByUUID()", () => {
console.warn = jest.fn();
const find = () => Selector.getSequenceByUUID(fakeIndex, "bad");
expect(find).toThrow("BAD Sequence UUID");
expect(console.warn).toBeCalled();
});
});