Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

601 B
Raw Blame
import { describe, it, expect } from 'vitest'
import {
  getDayBookendHotels as sharedBookendHotels,
  getDayOrder as sharedDayOrder,
  isDayInAccommodationRange as sharedInRange,
} from '@trek/shared'
import { getDayBookendHotels, getDayOrder, isDayInAccommodationRange } from './dayOrder'

describe('the night hotels Days reads', () => {
  it('FE-UTIL-DAYORDER-001: are the rule in @trek/shared itself, not a copy of it', () => {
    expect(getDayOrder).toBe(sharedDayOrder)
    expect(isDayInAccommodationRange).toBe(sharedInRange)
    expect(getDayBookendHotels).toBe(sharedBookendHotels)
  })
})