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

Unit tests not passing #42

Open
jehy opened this issue Jul 23, 2018 · 1 comment
Open

Unit tests not passing #42

jehy opened this issue Jul 23, 2018 · 1 comment

Comments

@jehy
Copy link

jehy commented Jul 23, 2018

Hi! I tried to execute unit tests, but could not find any combination of module and node versions with which tests will pass.

There are at least two fails:

mtom
✖ mime writer correctly writes attachments

AssertionError [ERR_ASSERTION]: <Buffer 2d 2d 6d 79 5f 75 6e 69 71 75 65 5f 62 6f 75 6e 64 61 72 79 0d 0a 43 6f 6e 74 65 6e 74 2d 49 44 3a 20 3c 69 64 31 3e 0d 0a 43 6f 6e 74 65 6e 74 2d 54 ... > deepEqual <Buffer 2d 2d 6d 79 5f 75 6e 69 71 75 65 5f 62 6f 75 6e 64 61 72 79 0d 0a 43 6f 6e 74 65 6e 74 2d 49 44 3a 20 3c 69 64 31 3e 0d 0a 43 6f 6e 74 65 6e 74 2d 54 ... >
    at Object.mime writer correctly writes attachments (/web/ws.js/test/unit/client/mtom.js:38:12)
  1. After block
✔ ws.getAttachment should extract attachments
✔ correctly sends callback to next handler

tests hang and never continue.

@jehy
Copy link
Author

jehy commented Jul 23, 2018

UPD. After bumping xmldom to 0.1.19, units do not hang anymore - but 9/55 assertions fail - possibly because unit tests contain Windows server program which can't be launched ob my linux...

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

No branches or pull requests

1 participant