-
Notifications
You must be signed in to change notification settings - Fork 9
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
migrate remaining logs in test-utils/*
#589
Conversation
|
import { warn } from "./logging"; | ||
import { logger } from "@replay-cli/shared/logger"; |
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.
I think I should clean up the logging.ts
file in another PR.
const features = edges[0].node.settings.features; | ||
|
||
return { | ||
env: features?.testSuites?.env || {}, | ||
}; | ||
} catch (e) { | ||
warn("Failed to fetch test suite configuration; continuing with defaults", e); | ||
} catch (error) { |
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.
😍
@@ -98,7 +98,12 @@ class ProtocolClient { | |||
this.socket.send(data, callback); | |||
} else { | |||
if (err) { |
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.
err
😭 lol
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.
Fixed it for you!
The title is self-explanatory!