<commit_before>/* eslint-disable unicorn/no-null */
import { createDatepickerLocalization } from "..";

describe("createDatepickerLocalization", () => {
  describe.each([["de", "de-AU", "el"]])("dateAdapter for duet-date-picker for locale=%s", (givenLocale) => {
    test("defines dateFormat", () => {
      const datepickerLocalization = createDatepickerLocalization({ locale: givenLocale });
      expect(datepickerLocalization.dateFormat).toBe("dd.MM.yyyy");
    });

    test("defines dateFormatShort", () => {
      const datepickerLocalization = createDatepickerLocalization({ locale: givenLocale });
      expect(datepickerLocalization.dateFormatShort).toBe("dd. MMMM");
    });
<commit_msg>Fix de-AU to de-AT in create date picker localization test<commit_after>/* eslint-disable unicorn/no-null */
import { createDatepickerLocalization } from "..";

describe("createDatepickerLocalization", () => {
  describe.each([["de", "de-AT", "el"]])("dateAdapter for duet-date-picker for locale=%s", (givenLocale) => {
    test("defines dateFormat", () => {
      const datepickerLocalization = createDatepickerLocalization({ locale: givenLocale });
      expect(datepickerLocalization.dateFormat).toBe("dd.MM.yyyy");
    });

    test("defines dateFormatShort", () => {
      const datepickerLocalization = createDatepickerLocalization({ locale: givenLocale });
      expect(datepickerLocalization.dateFormatShort).toBe("dd. MMMM");
    });

{'fraction_non_alphanumeric': 0.1596113809854268, 'fraction_numerical': 0.0, 'mean_word_length': 4.958677685950414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5401308', 'n_tokens_mistral': 418, 'n_tokens_neox': 400, 'n_words': 73}