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 <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Apr 21, 2018
1 parent d3d7799 commit 8a909b5
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 8a909b5

Please sign in to comment.