(id: string, kind: WorkKind, nodeId: number)
| 25 | }); |
| 26 | |
| 27 | const actor = (id: string, kind: WorkKind, nodeId: number): ActorView => ({ |
| 28 | id, |
| 29 | name: id, |
| 30 | you: false, |
| 31 | color: '#ffffff', |
| 32 | letter: id.slice(0, 1).toUpperCase(), |
| 33 | kind, |
| 34 | kindLetter: 'X', |
| 35 | placement: { |
| 36 | kind: 'file', nodeId, name: 'n', qualifiedName: 'n', uncertain: false, why: '', ghostIds: [], |
| 37 | }, |
| 38 | node: node(nodeId), |
| 39 | testedNode: undefined, |
| 40 | ghostNodes: [], |
| 41 | last: { |
| 42 | ts: 0, agent: id, run: 'r', seq: 1, phase: 'end', tool: 'Read', path: '', |
| 43 | detail: '', source: '', replay: false, |
| 44 | }, |
| 45 | lastTs: 0, |
| 46 | hereMs: 0, |
| 47 | count: 1, |
| 48 | missed: 0, |
| 49 | strip: [], |
| 50 | stripTotal: 0, |
| 51 | intent: '', |
| 52 | paths: [], |
| 53 | sinceMs: 0, |
| 54 | idle: false, |
| 55 | recentEvents: 1, |
| 56 | pulse: pulseOf(1), |
| 57 | trail: [], |
| 58 | waves: [], |
| 59 | drawn: true, |
| 60 | }); |
| 61 | |
| 62 | describe('die vier Bahnen', () => { |
| 63 | it('macht das Lesen weit und ruhig und das Schreiben eng und schnell', () => { |
no test coverage detected