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: add basic test suite for hooks #600

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Conversation

swain
Copy link
Contributor

@swain swain commented Nov 7, 2023

Motivation

As promised in #598, adding a basic test suite, plus logic to run the suite in GitHub Actions.

I believe this has been requested on previous PRs, but never added. Maybe I'm wrong?

const button = screen.getByTestId('button');

// Why these assertions:
// https://github.com/mrousavy/react-native-mmkv/issues/599
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These assertions will fail until #598 is merged.

@mrousavy
Copy link
Owner

mrousavy commented Nov 7, 2023

Hola, thanks again for this PR, you're the man! ❤️

#598 is merged! :) I think you need to update your branch, no?

@swain
Copy link
Contributor Author

swain commented Nov 7, 2023

@mrousavy Updated! The new test job is passing 🙌🏻.

One thing: The linting job is failing -- but as far as I can tell, that failure is unrelated to this PR. I'm seeing that failure locally on this branch, and on the master branch.

The test job is passing, which is great!

@mrousavy
Copy link
Owner

mrousavy commented Nov 9, 2023

Heyo! Yea this is probably my fault, not sure.

I think this PR is good! Thanks

@mrousavy mrousavy merged commit 7683a65 into mrousavy:master Nov 9, 2023
3 of 5 checks passed
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