"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 SpecialAttributesArray_1 = require("./SpecialAttributesArray");
describe('SpecialAttributesArray tests', function () {
    var values = ['tag1', 'tag2'];
    var className = 'class1';
    var Component = function (_a) {
        var value = _a.value;
        return value;
    };
    it('should render values joined with comma', function () {
        var container = (0, react_2.render)(react_1.default.createElement(SpecialAttributesArray_1.SpecialAttributesArray, { values: values, Component: Component, className: className })).container;
        expect(react_2.screen.getByText('tag1, tag2')).toBeInTheDocument();
        expect(container.firstChild).toHaveClass(className);
    });
});
