All files / test/blong-int-adapter/mysql server.ts

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

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 21 22 23 24 25 26 27 28 29 30                                                           
import {realm} from '@feasibleone/blong';

export default realm(blong => ({
    url: import.meta.url,
    validation: blong.type.Object({}),
    children: [
        // blong-core brings the resource/type/triple graph schema so the knex
        // adapter tests can exercise the resource-backed CRUD + graph-edge
        // features (core_resource / core_type / core_triple tables).
        async function core() {
            return import('@feasibleone/blong-core/server.ts');
        },
        './test',
    ],
    config: {
        default: {
            // The `core` child realm (resource/type/triple graph) — the config
            // block gates its activation (a child with no config block is skipped).
            core: {},
        },
        microservice: {
            adapter: true,
        },
        'adapter.mysql': {
            adapter: true,
            test: true,
        },
    },
}));