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

Function _test

pkgs/core/src/eachQuarterOfInterval/test.ts:157–162  ·  view source on GitHub ↗
(
      start: DateType1 | number | string,
      end: DateType2 | number | string,
    )

Source from the content-addressed store, hash-verified

155
156 it("allows dates to be of different types", () => {
157 function _test<DateType1 extends Date, DateType2 extends Date>(
158 start: DateType1 | number | string,
159 end: DateType2 | number | string,
160 ) {
161 eachQuarterOfInterval({ start, end });
162 }
163 });
164
165 describe("context", () => {

Callers

nothing calls this directly

Calls 1

eachQuarterOfIntervalFunction · 0.90

Tested by

no test coverage detected