diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-21 14:08:48 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-21 14:12:30 +1100 |
| commit | d581e5b61a771ef8619a5bfbc84a6e337c7ca13f (patch) | |
| tree | e372aab2a7ab95d6fd22dcfe99f3f1985456ecc7 /tests | |
| parent | bf357e48dc261dab08598bd93071ca53ef386402 (diff) | |
Move general utility funcs into util.ts
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lib.test.ts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/lib.test.ts b/tests/lib.test.ts index 407d1d1..4810c55 100644 --- a/tests/lib.test.ts +++ b/tests/lib.test.ts @@ -1,12 +1,14 @@ +import {moduloPositive, intToOrdinal, getNumTrailingZeros} from '/src/util.ts'; import { - moduloPositive, intToOrdinal, getNumTrailingZeros, - gregorianToJdn, julianToJdn, jdnToGregorian, jdnToJulian, gregorianToJulian, julianToGregorian, getDaysInMonth, - YearDate, CalDate, dateToDisplayStr, boundedDateToStr, HistEvent, + gregorianToJdn, julianToJdn, jdnToGregorian, jdnToJulian, julianToGregorian, gregorianToJulian, getDaysInMonth, + YearDate, CalDate, + HistEvent, + dateToDisplayStr, boundedDateToStr, queryServer, jsonToHistDate, jsonToHistEvent, DAY_SCALE, MONTH_SCALE, stepDate, inDateScale, getScaleRatio, getUnitDiff, - getEventPrecision, dateToUnit, dateToScaleDate, + getEventPrecision, dateToUnit, dateToScaleDate, DateRangeTree, -} from '/src/lib.ts' +} from '/src/lib.ts'; // ========== General utility functions ========== |
