Skip to content

Conversation

sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Sep 13, 2025

Related Bug Reports or Discussions

Fixes #

Summary

remove waitFor

  • react
    • vanilla-utils
      • atomFamily
      • atomWithDefault
    • dependency
    • items
    • onmount
    • optimization
    • provider
    • useSetAtom

replace findByText with getByText

  • react
    • vanilla-utils
      • atomFamily
      • atomWithDefault
      • atomWithReducer
      • atomWithRefresh
    • dependency
    • items
    • onmount
    • optimization
    • useAtomValue

replace userEvent with fireEvent

  • react
    • vanilla-utils
      • atomFamily
      • atomWithDefault
      • atomWithReducer
      • atomWithRefresh
    • dependency
    • items
    • onmount
    • optimization
    • useAtomValue
    • useSetAtom

migrate to vitest fake timers with adding loading assertions

  • react
    • vanilla-utils
      • atomFamily
      • atomWithDefault
      • atomWithRefresh
    • dependency
    • onmount
    • useAtomValue

Check List

  • pnpm run fix for formatting and linting code and docs

Copy link

vercel bot commented Sep 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
jotai Ready Ready Preview Comment Sep 22, 2025 0:36am

Copy link

codesandbox-ci bot commented Sep 13, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

pkg-pr-new bot commented Sep 13, 2025

More templates

npm i https://pkg.pr.new/jotai@3147

commit: 56c178a

Copy link

github-actions bot commented Sep 13, 2025

LiveCodes Preview in LiveCodes

Latest commit: 56c178a
Last updated: Sep 22, 2025 12:35am (UTC)

Playground Link
React demo https://livecodes.io?x=id/8BA34CV3Y

See documentations for usage instructions.

…ByText' with 'getByText', and add fake timers
…ByText' with 'getByText', and remove 'waitFor'
…t' with 'getByText', add fake timer, and remove 'waitFor'
…Text' with 'getByText', add fake timer, and remove 'waitFor'
…vent', 'findByText' with 'getByText', add fake timer, and remove 'waitFor'
…fireEvent', 'findByText' with 'getByText', add fake timer, and remove 'waitFor'
@sukvvon sukvvon changed the title test(*): migrate to vitest fake timers test(*): migrate to vitest fake timers, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' Sep 14, 2025
@sukvvon sukvvon changed the title test(*): migrate to vitest fake timers, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' test(*): migrate to vitest fake timers with adding 'loading' asserts, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' Sep 14, 2025
@sukvvon sukvvon changed the title test(*): migrate to vitest fake timers with adding 'loading' asserts, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' test(*): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' Sep 14, 2025
@sukvvon sukvvon changed the title test(*): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent' with 'fireEvent', 'findByText' with 'getByText', and remove 'waitFor' test(*): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent'/'findByText' with 'fireEvent'/'getByText', and remove 'waitFor' Sep 14, 2025
…fireEvent', 'findByText' with 'getByText', and add fake timer
@sukvvon sukvvon changed the title test(*): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent'/'findByText' with 'fireEvent'/'getByText', and remove 'waitFor' test({vanilla,react}): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent'/'findByText' with 'fireEvent'/'getByText', and remove 'waitFor' Sep 14, 2025
@sukvvon sukvvon changed the title test({vanilla,react}): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent'/'findByText' with 'fireEvent'/'getByText', and remove 'waitFor' test({react,vanilla}): migrate to vitest fake timers with adding 'loading' assertions, replace 'userEvent'/'findByText' with 'fireEvent'/'getByText', and remove 'waitFor' Sep 14, 2025
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.

1 participant