-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Get rid of tons of unnecessary destructuring in tests * control in-process concurrency w/env var formatting in testlib split `context` into `context` and `contextEach`; stop sprinkling `once` around `beforeAll` -> `before` `runIf` -> `if` `runSerially` -> `serial`, makes `serial` overloaded * extract testlib to git dep * extract getStream/expectStream to git dep * Replace bundled fs-fixture-builder with git dep * fix lockfile * try to make yarn happy grrr * test against node 20 nightly, since 19 seems not to be building every night * bump git deps * lockfile * try to fix install on node nightly * organize test helpers into multiple files, remove @yarnpkg/fslib dep, extract ctxTmpDir to its own context builder * fix bug in tests supposed to run *outside* of the git clone directory * fix transitive dep crash * fix fs-fixture-builder bug
- Loading branch information
Showing
35 changed files
with
1,044 additions
and
1,585 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Hacky script to grab node nightly and plonk it into node_modules/.bin, for | ||
# locally testing against nightly builds. | ||
|
||
set -euo pipefail | ||
shopt -s inherit_errexit | ||
__dirname="$(CDPATH= cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
cd "$__dirname/.." | ||
|
||
set -x | ||
|
||
mkdir -p tmp | ||
|
||
version=$(curl https://nodejs.org/download/nightly/index.json | jq -r '.[0].version') | ||
[ -e "tmp/$version.tar.xz" ] || \ | ||
curl -o "tmp/$version.tar.xz" "https://nodejs.org/download/nightly/$version/node-$version-linux-x64.tar.xz" | ||
|
||
[ -e "tmp/$version.tar" ] || \ | ||
unxz "tmp/$version.tar.xz" | ||
|
||
{ | ||
cd tmp | ||
tar -xvf "$version.tar" | ||
} | ||
|
||
ln -s "../../tmp/node-$version-linux-x64/bin/node" ./node_modules/.bin/node |
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
Oops, something went wrong.