updates to tests
parent
a9b6492823
commit
ee23635dd0
|
@ -13,7 +13,7 @@ describe("locationFormList()", () => {
|
|||
const toolHeading = items[1];
|
||||
expect(toolHeading).toEqual({
|
||||
headingId: "Tool",
|
||||
label: "Tools",
|
||||
label: "Tools and Seed Containers",
|
||||
value: 0,
|
||||
heading: true,
|
||||
});
|
||||
|
|
|
@ -28,11 +28,11 @@ describe("<Tools />", () => {
|
|||
const wrapper = mount(<Tools {...fakeProps()} />);
|
||||
const txt = wrapper.text();
|
||||
const strings = [
|
||||
"ToolBay 1",
|
||||
"Tool Slots",
|
||||
"SlotXYZ",
|
||||
"Tool1000Foo",
|
||||
"Tool or Seed Container",
|
||||
"Tools",
|
||||
"Tool NameStatus",
|
||||
"NameStatus",
|
||||
"Fooactive"];
|
||||
strings.map(string => expect(txt).toContain(string));
|
||||
});
|
||||
|
|
|
@ -5,6 +5,6 @@ import { mount } from "enzyme";
|
|||
describe("<ToolBayHeader />", () => {
|
||||
it("renders", () => {
|
||||
const header = mount(<ToolBayHeader />);
|
||||
expect(header.text()).toEqual("SlotXYZTool");
|
||||
expect(header.text()).toEqual("SlotXYZTool or Seed Container");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue