import { DateTime } from 'luxon' import { getNow, getTz } from './datetime' describe('datetime - getNow', () => { it('should return the current date and time', () => expect(getNow() instanceof DateTime).toBe(true)) }) describe('datetime - getTz', () => { it('should return the current timezone', () => expect(typeof getTz() === 'string').toBe(true)) })