Skip to content

Commit

Permalink
Merge be1ba08 into 479fcde
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed May 1, 2021
2 parents 479fcde + be1ba08 commit 8cf7242
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/run-result.js
Expand Up @@ -49,8 +49,13 @@ module.exports = class RunResult {
);
}

getSnapshot() {
return this.fs.dump(this.cwd);
/**
* Return an object with fs changes.
* @param {Function} filter - parameter forwarded to mem-fs-editor#dump
* @returns {Object}
*/
getSnapshot(filter) {
return this.fs.dump(this.cwd, filter);
}

/**
Expand Down

0 comments on commit 8cf7242

Please sign in to comment.