All files / core/blong-kukum/test/fixture/e2e-realm/meta/db db.ts

0% Statements 0/19
0% Branches 0/1
0% Functions 0/1
0% Lines 0/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
import unchanged from '@feasibleone/blong';
import {handler} from '@feasibleone/blong';

/**
 * meta/db/db.ts — `e2e` schema/seed configuration.
 *
 * Declares the two tables (`e2e.widget`, `e2e.line`) and enables
 * test seed processing (`dbTest: true`) so `meta/dbTest/*.yaml` loads in the
 * dev/integration intents. No `mock` entries — the model uses the real DB
 * tables via the auto-bound CRUD handlers.
 */
export default handler(() => ({
    config: {
        schema: {
            dbTest: true,
            tables: {'e2e.widget': 1, 'e2e.line': 2, 'e2e.gadget': 2},
        },
    },
}));