Multi-user trip planning web app in a single Docker container. Mullvad-style token accounts, trip sharing via join codes, day-by-day calendar with typed entries (activity, hotel, travel, flight, rental car, immigration, note), multi-leg flight segments with bundled IATA airport dataset, Leaflet/OSM map with per-leg great-circle km (air vs ground), rough km-driven vs rental included-km comparison, cost splitting with settle-up suggestions, flip-clock departure countdown. Node 20 + Express + SQLite (WAL, additive migrations), vanilla JS SPA, 44 API tests.
13 lines
616 B
JavaScript
13 lines
616 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';
|