-
Notifications
You must be signed in to change notification settings - Fork 0
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
Replace Karma + Mocha with Jest #30
Conversation
08a1fc9
to
3b61954
Compare
e057ad8
to
b73b043
Compare
374db8a
to
35a3e0b
Compare
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.
Super nice clean up! The logs are shown in console when running the tests, which makes it difficult to read (there's a lot..). Maybe we should disable the debug
logs for the tests? what do you think?
I also dont like this output. I was wondering if we should take these log tweaks on in the separate task we have for the SDK to prevent logs in console. Maybe we just need to make the logging configurable from the calling environment....? |
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.
🍰 Nice, looks great!
To align with our other repos, replace the ageing Karma + Mocha setup in favour of Jest. Also makes logging configurable To avoid logs filling up test reports, and potentially end user consoles, make logging configurable. Defaults to the previous behaviour, meaning logging is enabled unless explicitly disabled.
dabaa18
to
bd47dd3
Compare
Replace Karma + Mocha with Jest.
📦 Published PR as canary version:
1.3.7--canary.30.6719332745.0
✨ Test out this PR locally via:
npm install @whereby/jslib-media@1.3.7--canary.30.6719332745.0 # or yarn add @whereby/jslib-media@1.3.7--canary.30.6719332745.0