Files
trip-plan/tests/index.js
T
grabowski d393e16ae1 Rework entry types: merge hotel into stay, transport with modes, auto-transport
- Type set is now activity/stay/transport/flight/rental/note; hotel, travel
  and immigration are removed with idempotent startup data migrations
  (hotel->stay, travel->transport, immigration->activity with flag prefix)
- Transport entries carry an optional mode (train/bus/ferry/taxi/drive/other)
  that drives the chip/map icon; route stops expose transport_mode
- Creating a stay auto-creates a bridging transport to its neighbouring
  stays unless a transport/flight already covers the gap (one-shot)
- Summary: transports count replaces hotels/travelLegs
2026-07-19 17:47:21 +07:00

15 lines
672 B
JavaScript

// Test barrel. The package.json `test` script runs `node --test tests/`, which
// on this Node build resolves the directory to `tests/index.js` and runs it as
// a single test file rather than scanning the directory. Importing each test
// module here registers its tests with the runner. Add new test files below.
//
// These run in one process, so each test file scopes its fixtures with
// top-level beforeEach/afterEach that touch only its own module-level
// app/tmpDir — keeping the files independent.
import './api.test.js';
import './costs.test.js';
import './flights.test.js';
import './rental.test.js';
import './stays.test.js';
import './transport.test.js';