UNPKG

tibetan-date-calculator

Version:

A library to calculate tibetan calendar details. It is based on Svante Janson's paper www2.math.uu.se/~svante/papers/calendars/tibet.pdf

9 lines (7 loc) 289 B
import getTrueDate from '../true-date-from-month-count-day'; import { astroMock } from '../../__mocks__'; describe('getTrueDate()', () => { it('should return the correct vaule', () => { expect(getTrueDate(astroMock.day, astroMock.monthCount)).toEqual(astroMock.trueDate); }); });