(codeList: string[])
| 86 | } |
| 87 | |
| 88 | export function linesDiff(codeList: string[]) { |
| 89 | const steps: number[][] = []; |
| 90 | const lineIds: number[] = []; |
| 91 | codeList.forEach((_, i) => { |
| 92 | steps.push(getStepIds(lineIds, steps[i - 1], codeList[i - 1], codeList[i])); |
| 93 | }); |
| 94 | return { lineIds, steps }; |
| 95 | } |
no test coverage detected