Files
sausage/host/js/goal-questions-test.ts
T

11 lines
527 B
TypeScript

/** Ultimate goal and question-card cases execute in the world loader. */
import {fixture} from './goal-questions-fixture'
import {cases,cleanups} from './goal-questions-test-support'
const initial=await fixture()
globalThis.goalBase=initial.base
await initial.opened.close()
await import('./goal-cases')
await import('./questions-cases')
await import('./goal-reminder-cases')
for(const test of cases){try{await test.run();Deno.core.ops.op_output(`PASS ${test.name}\n`)}finally{for(const cleanup of cleanups) await cleanup()}}