-
Notifications
You must be signed in to change notification settings - Fork 189
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(compass-sidebar): convert to ts, fix save connections bug COMPASS-7418 #5077
Conversation
try { | ||
await connectionStorage.save(connectionInfo); | ||
await connectionStorage.save({ connectionInfo }); |
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.
^ This is what was preventing connections from being saved
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.
Like completely from the sidebar? Do we miss some test?
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.
Yeah, we don’t have an e2e test for this
@@ -1,48 +0,0 @@ | |||
import toNS from 'mongodb-ns'; |
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.
This file was just completely unused, so I just removed it
@@ -1,15 +0,0 @@ | |||
const hadronApp = require('hadron-app'); |
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.
This file and the ones in test/mocks as well, they didn’t seem to actually be consumed anywhere so I just removed them
Description
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes