* @param {(err?: WebpackError | null, snapshot?: Snapshot | null) => void} callback callback function
(callback)
| 455 | * @param {(err?: WebpackError | null, snapshot?: Snapshot | null) => void} callback callback function |
| 456 | */ |
| 457 | function getSnapshot(callback) { |
| 458 | const fs = createFs(); |
| 459 | const fsInfo = createFsInfo(fs); |
| 460 | fsInfo.createSnapshot( |
| 461 | Date.now() + 10000, |
| 462 | files, |
| 463 | directories, |
| 464 | missing, |
| 465 | options, |
| 466 | callback |
| 467 | ); |
| 468 | } |
| 469 | |
| 470 | it("should return same iterable for getFileIterable()", (done) => { |
| 471 | getSnapshot((err, snapshot) => { |
no test coverage detected