"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var react_2 = require("@testing-library/react");
var ValueChip_1 = require("./ValueChip");
describe('ValueChip tests', function () {
    it('should render main parts', function () {
        var label = '123';
        var container = (0, react_2.render)(react_1.default.createElement(ValueChip_1.ValueChip, { label: label })).container;
        expect(react_2.screen.getByText('123')).toBeInTheDocument();
        expect(container.querySelector('.count')).toBeNull();
    });
    it('should render main parts with count', function () {
        var label = '123';
        var count = '15K';
        (0, react_2.render)(react_1.default.createElement(ValueChip_1.ValueChip, { label: label, count: count }));
        expect(react_2.screen.getByText('123')).toBeInTheDocument();
        expect(react_2.screen.getByText('15K')).toHaveClass('count');
    });
});
