Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed redundant images folders #3295

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions bin/_mocha
Expand Up @@ -142,8 +142,8 @@ const requires = [];
*/

const images = {
fail: path.join(__dirname, '..', 'images', 'error.png'),
pass: path.join(__dirname, '..', 'images', '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
Expand Up @@ -52,7 +52,7 @@ exports.Test = require('./test');
* @return {string}
*/
function image (name) {
return path.join(__dirname, '../images', name + '.png');
return path.join(__dirname, '../assests/growl', name + '.png');
}

/**
Expand Down