-
Notifications
You must be signed in to change notification settings - Fork 82
Add meaningful tests #11
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
Conversation
…xture-library into add-meaningful-tests
tests/manufacturers_index_correct.js
Outdated
| } | ||
|
|
||
| if (!failed) { | ||
| console.log(colors.green('Test passed.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More details in this message wished.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
tests/manufacturers_index_correct.js
Outdated
|
|
||
| // get index (and adjust the fixtures' names) | ||
| const fixturePath = path.join(__dirname, '..', 'fixtures'); | ||
| const index = JSON.parse(fs.readFileSync(path.join(fixturePath, 'index_manufacturers.json'), 'utf8')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add console message printing the used index filename.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
|
Needs to be done before merging:
|
…xture-library into add-meaningful-tests
FloEdelmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
closes #3