-
Notifications
You must be signed in to change notification settings - Fork 670
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
Migrate type tests to Vitest #697
Open
aryaemami59
wants to merge
58
commits into
reduxjs:master
Choose a base branch
from
aryaemami59:migrate-typetests-to-vitest
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Migrate type tests to Vitest #697
aryaemami59
wants to merge
58
commits into
reduxjs:master
from
aryaemami59:migrate-typetests-to-vitest
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for reselect-docs canceled.
|
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. |
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
2 times, most recently
from
May 7, 2024 16:28
ef6c07f
to
b44c7e5
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
2 times, most recently
from
June 21, 2024 09:47
492bf78
to
f5ffebb
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
3 times, most recently
from
August 10, 2024 15:47
78c3325
to
d7a07ff
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
from
August 21, 2024 00:12
282544d
to
d7a07ff
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
17 times, most recently
from
September 17, 2024 08:11
0c7a1ed
to
d6435a4
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
from
September 17, 2024 10:22
d55f7cb
to
4b41040
Compare
- There were multiple `store.dispatch` calls that were not needed. These were removed to clean up the test file and speed up execution of tests.
- This was done mainly to speed up executions of unit tests.
- Looks like some of the code in `computationComparisons.spec.tsx` wasn't properly updated after we switched the default memoization function from `lruMemoize` to `weakMapMemoize`. These have been updated to their correct implementations. - Correct residual naming inconsistencies from the previous `defaultMemoize` to `lruMemoize` renaming. All references to `default` have been updated to `lru`.
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
4 times, most recently
from
October 3, 2024 02:57
a9f36b7
to
1d6ff8d
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
2 times, most recently
from
October 15, 2024 03:53
d64095b
to
814cafa
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
2 times, most recently
from
October 22, 2024 00:27
7c47f3d
to
fe1421a
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
from
October 26, 2024 12:10
fe1421a
to
bacd5d0
Compare
aryaemami59
force-pushed
the
migrate-typetests-to-vitest
branch
from
November 6, 2024 14:48
bacd5d0
to
634c5d5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
typetest.ts
file extensions totest-d.ts
to be compatible with Vitest.expectType()
to eitherassertType()
orexpectTypeOf().toMatchTypeOf()
.expectExactType
toexpectTypeOf().toEqualTypeOf()
.test
ordescribe
blocks.