All files / demo/blong-cli/text server.ts

100% Statements 12/12
100% Branches 2/2
100% Functions 0/0
100% Lines 12/12

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 136x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x  
import {realm} from '@feasibleone/blong';
 
/**
 * The demo realm.
 *
 * Deliberately trivial: the demo is about the `cli` intent, not about the
 * domain. Layers are auto-discovered from the folders beside this file, and
 * there is no db adapter, no `meta/` and no browser entry — a command needs
 * none of that. Its handlers read their arguments, and the filesystem through
 * `this.platform`.
 */
export default realm(() => ({url: import.meta.url}));