()
| 49 | const port = 10000 |
| 50 | const handler = new RPCHandler() |
| 51 | async function getModelDb (): Promise<{ modelDb: ModelDb, hierarchy: Hierarchy }> { |
| 52 | const txes = genMinModel() |
| 53 | const hierarchy = new Hierarchy() |
| 54 | for (const tx of txes) { |
| 55 | hierarchy.tx(tx) |
| 56 | } |
| 57 | const modelDb = new ModelDb(hierarchy) |
| 58 | for (const tx of txes) { |
| 59 | await modelDb.tx(tx) |
| 60 | } |
| 61 | return { modelDb, hierarchy } |
| 62 | } |
| 63 | |
| 64 | const toolCtx = new MeasureMetricsContext('test', {}) |
| 65 | const opt: SessionManagerOptions = { |
no test coverage detected