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

chore: replace jest with mocha VSCODE-516 #668

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mcasimir
Copy link
Contributor

Description

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

expect(postMessageSpy).to.not.be.called;

screen.getByText('Open form').click();
await userEvent.click(screen.getByTestId('open-connection-form-button'));
Copy link
Member

@Anemy Anemy Jan 18, 2024

Choose a reason for hiding this comment

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

Opening the connection form takes ~4 seconds for all of the animations to complete, so it's failing on default timeouts. Going to see if this is something we can fix on the connection form side. There's also an issue with focus-trap not finding the fallback node. It's likely fixed in newer versions, which we'll get with newer ConfirmationModals so I'm going to try that as well. pr: mongodb-js/compass#5362

If the delay can't go away then we can skip the animation waiting (await -> void) and just insert a quick fake delay here with a comment.

@Anemy Anemy changed the title chore: replace jest with mocha chore: replace jest with mocha VSCODE-516 Jan 24, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants