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 ReactMentions props and fix tests that stop local linting #1298

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

AmeeMorris
Copy link
Contributor

💬 Description

Newer ReactMentions have changed what props you need to pass to what component, this fixes that.

I also had errors in these tests when linking locally, so i've just fixed the imports for those too

Copy link
Contributor

@webknit webknit left a comment

Choose a reason for hiding this comment

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

How come the afterEach has to be imported when it doesn't look to be used?

@AmeeMorris
Copy link
Contributor Author

How come the afterEach has to be imported when it doesn't look to be used?

@webknit it is used 😅 https://github.com/Bynder/gathercontent-gather-ui/pull/1298/files#diff-14214aaac303045d2a034883a558bd72326ec00e0698886dfe25e3eb7cd6e4f0R22 same for all the files i've imported it in. used to be globally available when we had jest, but no longer with vitest. thats why its suddenly an issue

@AmeeMorris AmeeMorris merged commit 37aae4c into main Sep 19, 2023
2 checks passed
@AmeeMorris AmeeMorris deleted the issue/mention-input-props-and-tests branch September 19, 2023 10:43
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.

2 participants