Standalone expenses (date, description, category, amount) with the same equal/own/payer split machinery as entry costs, merged into the costs panel and settle-up as a single expense bucket. Self-fetching card with per-day grouping, client-side sorting, and quick-add. CSV export interleaves expenses with priced entries, one share column per member (UTF-8 BOM, RFC 4180, formula-injection guard on text cells). Also fixes trip deletion, which hit a foreign-key violation and rolled back for any trip with checklist items.
20 lines
841 B
JavaScript
20 lines
841 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 './checklist.test.js';
|
|
import './checklist-suggestions.test.js';
|
|
import './costs.test.js';
|
|
import './expense-csv.test.js';
|
|
import './expenses.test.js';
|
|
import './expenses-export.test.js';
|
|
import './flights.test.js';
|
|
import './rental.test.js';
|
|
import './stays.test.js';
|
|
import './transport.test.js';
|