(filename)
| 150 | } |
| 151 | |
| 152 | function getSnapshotPath(filename) { |
| 153 | const { name, dir } = path.parse(filename); |
| 154 | return path.resolve(dir, `${name}.snapshot`); |
| 155 | } |
| 156 | |
| 157 | async function assertSnapshot(actual, filename = process.argv[1]) { |
| 158 | const snapshot = getSnapshotPath(filename); |
no test coverage detected
searching dependent graphs…