MCPcopy
hub / github.com/date-fns/date-fns / _test

Function _test

pkgs/core/src/isSameQuarter/test.ts:53–58  ·  view source on GitHub ↗
(
      arg1: DateType1 | number | string,
      arg2: DateType2 | number | string,
    )

Source from the content-addressed store, hash-verified

51
52 it("allows dates to be of different types", () => {
53 function _test<DateType1 extends Date, DateType2 extends Date>(
54 arg1: DateType1 | number | string,
55 arg2: DateType2 | number | string,
56 ) {
57 isSameQuarter(arg1, arg2);
58 }
59 });
60
61 it("normalizes the dates", () => {

Callers 1

test.tsFile · 0.70

Calls 1

isSameQuarterFunction · 0.90

Tested by

no test coverage detected