Skip to content

Commit

Permalink
fix growl asset paths
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <[email protected]>
  • Loading branch information
boneskull committed May 17, 2018
1 parent 8579749 commit a70b6d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ const requires = [];
*/

const images = {
fail: path.join(__dirname, '..', 'assets/growl', 'error.png'),
pass: path.join(__dirname, '..', 'assets/growl', 'ok.png')
fail: path.join(__dirname, '..', 'assets', 'growl', 'error.png'),
pass: path.join(__dirname, '..', 'assets', 'growl', 'ok.png')
};

// options
Expand Down
2 changes: 1 addition & 1 deletion lib/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ exports.Test = require('./test');
* @return {string}
*/
function image (name) {
return path.join(__dirname, '../assests/growl', name + '.png');
return path.join(__dirname, '..', 'assets', 'growl', name + '.png');
}

/**
Expand Down

0 comments on commit a70b6d5

Please sign in to comment.