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

SUIT-8895 Fixed unit tests for testLauncher/index.test.js. #5

Merged

Conversation

JeKachan
Copy link
Member

Updated webbsockets package. Fixed TypeErrors which occurs due tests running. Fixed displaying device execution results for SuitestLauncher.

Unfortunately test coverage still fails. It happens because nyc inside himself use "spawn-wrap" which created child procesess, and this library create temporary execution folders in OS user folder ("Ievgen Kozynskyi" in my case) and path, with spaces, to executable file not wrapped in double quotes and by this reasons tests coverage fails in several places.

istanbuljs/nyc#738
istanbuljs/nyc#784

…bsockets package. Fixed TypeErrors which occurs due tests running. Fixed displaying device execution results for SuitestLauncher.
@JeKachan JeKachan added the bug Something isn't working label Apr 19, 2018
@givehug
Copy link
Contributor

givehug commented Apr 19, 2018

Just to clarify, nyc coverage fails on windows only when there is a space id dir name.

@@ -77,11 +77,11 @@ class SuitestLauncher {
// log all devices logs
Object.keys(devicesLogs).forEach(dId => log.deviceLines(devicesLogs[dId], dId));

Copy link
Contributor

Choose a reason for hiding this comment

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

This is quite critical fix

@andriichumak andriichumak merged commit b2ef9e1 into release/v1.1.0 Apr 20, 2018
@andriichumak andriichumak deleted the feature/SUIT-8895-update-testlauncher-unit-tests branch April 20, 2018 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants