"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const FacetSelect_1 = require("../FacetSelect");
describe("FacetSelect component", () => {
    describe("check()", () => {
        it("adds commas to numeric properties", () => {
            expect((0, FacetSelect_1.check)({ data: 1934810581 }, "data")).toEqual("1,934,810,581");
        });
        it("nested objects to return child object", () => {
            expect((0, FacetSelect_1.check)({ num: 18485, obj: { num: 810591 } }, "obj")).toEqual({
                num: 810591,
            });
        });
    });
});
