<commit_before>import React from "react";
import { render } from "@testing-library/react";
// Testing-Component
import { Tag } from ".";
// Assets
import { LINK } from "assets/static/phrases";
import { INTERNAL } from "assets/static/urls";
// Libs
import { TestProvider } from "lib/testUtils";

describe("<SButton>", () => {
  const props = {
    type: "Black" as "Black" | "Orange" | "Green",
    text: "test",
  };
  const renderSButton = (buttonText: string) =>
    render(
      <TestProvider>
        <Tag {...props}>{buttonText}</Tag>
      </TestProvider>
    );
  it("버튼 문구가 보여진다.", () => {
    const { getByText } = renderSButton(LINK.SUBSCRIPTION);

    getByText(LINK.SUBSCRIPTION);
  });
});<commit_msg>:white_check_mark: 태그 컴포넌트 테스트 수정<commit_after>import React from "react";
import { render } from "@testing-library/react";
// Testing-Component
import { Tag } from ".";
// Assets
import { LINK } from "assets/static/phrases";
import { INTERNAL } from "assets/static/urls";
// Libs
import { TestProvider } from "lib/testUtils";

describe("<Tag>", () => {
  const renderTag = (tagText: string) =>
    render(
      <TestProvider>
        <Tag type="Black" text={tagText} />
      </TestProvider>
    );
  it("버튼 문구가 보여진다.", () => {
    const { getByText } = renderTag(LINK.SUBSCRIPTION);

    getByText(LINK.SUBSCRIPTION);
  });
});
{'fraction_non_alphanumeric': 0.1793154761904762, 'fraction_numerical': 0.0, 'mean_word_length': 3.4098360655737703, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5301774', 'n_tokens_mistral': 476, 'n_tokens_neox': 495, 'n_words': 101}