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

✅ Fix test log debugging #236

Merged
merged 2 commits into from
Mar 11, 2021
Merged

✅ Fix test log debugging #236

merged 2 commits into from
Mar 11, 2021

Conversation

wwilsman
Copy link
Contributor

What is this?

While debugging some failing tests, I noticed that the failed test check used to produce log dumps did not work due to the recent refactor to Jasmine. Jasmine does not have a way to access the current test from within a hook, but it did feel more proper to add it as a shared reporter in the common test helpers file. Since this file is also loaded in browser environments, I had to add catches around reading the environment variable and also set said variable in an alternate way for karma tests since the common test helpers do not get bundled with rollup.

@wwilsman wwilsman added the 🧹 maintenance General maintenance label Mar 11, 2021
@wwilsman wwilsman requested a review from Robdel12 March 11, 2021 19:45
Copy link
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

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

🏁 Ah, fun.

@wwilsman wwilsman merged commit 3e5a3ec into master Mar 11, 2021
@wwilsman wwilsman deleted the ww/debug-fixes branch March 11, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 maintenance General maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants