scaffolds.test.ts19 lines · main
| 1 | import { describe, expect, test } from 'bun:test'; |
| 2 | |
| 3 | import { BRIVEN_ENGINE_SCAFFOLDS, listBrivenEngineScaffolds } from './scaffolds.js'; |
| 4 | |
| 5 | describe('briven-engine scaffolds', () => { |
| 6 | test('branded engine', () => { |
| 7 | expect(BRIVEN_ENGINE_SCAFFOLDS.engine).toBe('briven-engine'); |
| 8 | }); |
| 9 | |
| 10 | test('lists scaffold keys', () => { |
| 11 | const keys = listBrivenEngineScaffolds(); |
| 12 | expect(keys).toContain('nextAppRouterProxy'); |
| 13 | expect(keys).toContain('passwordlessSms'); |
| 14 | }); |
| 15 | |
| 16 | test('proxy snippet mentions briven-engine', () => { |
| 17 | expect(BRIVEN_ENGINE_SCAFFOLDS.nextAppRouterProxy).toContain('briven-engine'); |
| 18 | }); |
| 19 | }); |