-
Notifications
You must be signed in to change notification settings - Fork 23
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
[INTERNAL] Add tests #504
Conversation
const asyncTasks = Object.keys(themeLibraryBuilder.tasks).map((taskKey) => { | ||
return themeLibraryBuilder.tasks[taskKey](); | ||
}); |
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.
Whats the exact purpose of this? Just calling the function and expecting that no error is thrown?
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.
exactly
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.
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
107ca33
to
b5777cc
Compare
Add tests to increase coverage
Fix naming in manifest.json file of library H