-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Assuming all jest should have been removed in #1033 #1511
Merged
eoghanmurray
merged 2 commits into
rrweb-io:master
from
eoghanmurray:last-jest-to-vitest
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4740,13 +4740,6 @@ create-require@^1.1.0: | |
resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" | ||
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== | ||
|
||
cross-env@^5.2.0: | ||
version "5.2.1" | ||
resolved "https://registry.npmjs.org/cross-env/-/cross-env-5.2.1.tgz" | ||
integrity sha512-1yHhtcfAd1r4nwQgknowuUNfIT9E8dOMMspC36g45dN+iD1blloi7xp8X/xAIDnjHWyt1uQ8PHk2fkNaym7soQ== | ||
dependencies: | ||
cross-spawn "^6.0.5" | ||
|
||
cross-env@^7.0.3: | ||
version "7.0.3" | ||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" | ||
|
@@ -4777,17 +4770,6 @@ cross-spawn@^5.1.0: | |
shebang-command "^1.2.0" | ||
which "^1.2.9" | ||
|
||
cross-spawn@^6.0.5: | ||
version "6.0.5" | ||
resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz" | ||
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== | ||
dependencies: | ||
nice-try "^1.0.4" | ||
path-key "^2.0.1" | ||
semver "^5.5.0" | ||
shebang-command "^1.2.0" | ||
which "^1.2.9" | ||
|
||
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: | ||
version "7.0.3" | ||
resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" | ||
|
@@ -8518,11 +8500,6 @@ netmask@^2.0.2: | |
resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7" | ||
integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== | ||
|
||
nice-try@^1.0.4: | ||
version "1.0.5" | ||
resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz" | ||
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== | ||
|
||
no-case@^3.0.4: | ||
version "3.0.4" | ||
resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" | ||
|
@@ -8941,11 +8918,6 @@ path-is-absolute@^1.0.0: | |
resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" | ||
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= | ||
|
||
path-key@^2.0.1: | ||
version "2.0.1" | ||
resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz" | ||
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= | ||
|
||
path-key@^3.0.0, path-key@^3.1.0: | ||
version "3.1.1" | ||
resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" | ||
|
@@ -9850,7 +9822,7 @@ [email protected]: | |
dependencies: | ||
semver "^5.1.0" | ||
|
||
"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.5.0: | ||
"semver@2 || 3 || 4 || 5", semver@^5.1.0: | ||
version "5.7.1" | ||
resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" | ||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably decouple these a bit, turbo.json already has the relationship between build and test. If we add it here, build ends up being called twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turbo.json is only in root; will we be adding one in this package too?
the difference between
test
andretest
that I introduced was the idea that you have changed the code and want to check the tests, vs. modifying a test and you want to check if the modification fixes things (no need to build, hence 'retest').Is there a way that can work with turbo, e.g. automatically it knows that there's no need to build as the files haven't changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turbo looks at the config file in the root to understand the relationships.
When you run a command with turbo for example
turbo run test -F PACKAGE
it will run build only if the code was changed, otherwise it will use the cached output.