(contents: string)
| 1085 | onCleanup(done) |
| 1086 | |
| 1087 | const cacheKey = (contents: string) => { |
| 1088 | if (!large()) return sampledChecksum(contents, contents.length) |
| 1089 | return sampledChecksum(contents) |
| 1090 | } |
| 1091 | |
| 1092 | const before = local.before |
| 1093 | ? { ...local.before, contents: beforeContents, cacheKey: cacheKey(beforeContents) } |
no test coverage detected