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

types: add tests for context values #2188

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

marcalexiei
Copy link
Member

Added new tests for context:

  • usage with namespace prefix in t key
  • usage of context value with the same t function from two different namespaces

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included
  • commit message and code follows the Developer's Certification of Origin

@coveralls
Copy link

Coverage Status

coverage: 96.313%. remained the same
when pulling b722285 on marcalexiei:context-tests
into 31f61e6 on i18next:master.

@marcalexiei marcalexiei mentioned this pull request May 14, 2024
7 tasks
@marcalexiei marcalexiei marked this pull request as ready for review May 14, 2024 04:51
@adrai adrai merged commit d057e1d into i18next:master May 14, 2024
9 checks passed
@marcalexiei marcalexiei deleted the context-tests branch May 14, 2024 18:01
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

3 participants