(expect: ExpectStatic, platformPackager: CheckingMacPackager)
| 7 | import { ExpectStatic } from "vitest" |
| 8 | |
| 9 | async function assertIcon(expect: ExpectStatic, platformPackager: CheckingMacPackager) { |
| 10 | const file = await platformPackager.getIconPath() |
| 11 | expect(file).toBeDefined() |
| 12 | |
| 13 | const result = await platformPackager.resolveIcon([file!], [], "set") |
| 14 | result.forEach(it => { |
| 15 | it.file = path.basename(it.file) |
| 16 | }) |
| 17 | expect(result).toMatchSnapshot() |
| 18 | } |
| 19 | |
| 20 | const targets = Platform.MAC.createTarget(DIR_TARGET, Arch.x64) |
| 21 |
no test coverage detected