Files
karma/ui/src/Common/Select.test.ts
2020-07-21 17:58:08 +01:00

14 lines
332 B
TypeScript

import { NewLabelName, NewLabelValue } from "./Select";
describe("NewLabelName", () => {
it("returns correct text", () => {
expect(NewLabelName("foo")).toBe("New label: foo");
});
});
describe("NewLabelValue", () => {
it("returns correct text", () => {
expect(NewLabelValue("foo")).toBe("New value: foo");
});
});