11 lines
312 B
TypeScript
11 lines
312 B
TypeScript
|
|
import { getPropertyControlTypes } from "./index";
|
||
|
|
import _ from "lodash";
|
||
|
|
|
||
|
|
const types = getPropertyControlTypes();
|
||
|
|
|
||
|
|
it("Checks for uniqueness of control types", () => {
|
||
|
|
const result = Object.keys(getPropertyControlTypes());
|
||
|
|
const output = _.uniq(result);
|
||
|
|
expect(types.length).toEqual(output.length);
|
||
|
|
});
|