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

[INTERNAL] Add tests #504

Merged
merged 4 commits into from
Aug 27, 2020
Merged

[INTERNAL] Add tests #504

merged 4 commits into from
Aug 27, 2020

Conversation

tobiasso85
Copy link
Contributor

Add tests to increase coverage
Fix naming in manifest.json file of library H

@tobiasso85 tobiasso85 requested a review from matz3 August 20, 2020 13:03
@coveralls
Copy link

coveralls commented Aug 20, 2020

Coverage Status

Coverage increased (+0.2%) to 92.523% when pulling d8e0590 on add-test-coverage-improvement into 4cf50b2 on master.

Comment on lines 41 to 43
const asyncTasks = Object.keys(themeLibraryBuilder.tasks).map((taskKey) => {
return themeLibraryBuilder.tasks[taskKey]();
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whats the exact purpose of this? Just calling the function and expecting that no error is thrown?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, better than no test. I've changed the assertion and just called build which also invokes the task functions.

fix naming in manifest.json file of library H
@tobiasso85 tobiasso85 force-pushed the add-test-coverage-improvement branch from 107ca33 to b5777cc Compare August 26, 2020 12:03
@tobiasso85 tobiasso85 self-assigned this Aug 27, 2020
@tobiasso85 tobiasso85 requested a review from matz3 August 27, 2020 07:21
@tobiasso85 tobiasso85 merged commit 7416a97 into master Aug 27, 2020
@tobiasso85 tobiasso85 deleted the add-test-coverage-improvement branch August 27, 2020 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants