deno.land / x / masx200_leetcode_test@10.6.5 / reformat-date / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import reformatDate from "./index.ts";
Deno.test("reformat-date", () => { const inputs = ["20th Oct 2052", "6th Jun 1933", "26th May 1960"]; assertEquals( ["2052-10-20", "1933-06-06", "1960-05-26"], inputs.map(reformatDate), );});
masx200_leetcode_test

Version Info

Tagged at
a year ago