Skip to content

Commit

Permalink
Adds istanbul ignore to Asset Saver
Browse files Browse the repository at this point in the history
  • Loading branch information
paullewis committed Jun 1, 2016
1 parent c240b09 commit 74295bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/asset-saver.js
Expand Up @@ -72,6 +72,8 @@ img {
`;
}

// Set to ignore because testing it would imply testing fs, which isn't strictly necessary.
/* istanbul ignore next */
function saveArtifacts(artifacts) {
const artifactsFilename = 'artifacts.log';
fs.writeFileSync(artifactsFilename, stringify(artifacts));
Expand Down

0 comments on commit 74295bb

Please sign in to comment.