diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-08-26 23:39:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-26 23:39:05 +0900 |
| commit | 9b324b1cf4a8ee4159abb041e72a8885a28e92a3 (patch) | |
| tree | 37cd36144b77915b17975719fdaa1862ff8e0bcb /cli/tests/testdata/npm/registry/@denotest/globals | |
| parent | f583a7ebf4f7c4ef21061fba802f80fd2d5299e7 (diff) | |
fix(ext/node): fix global in node env (#15622)
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/globals')
| -rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/index.js | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/package.json | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/index.js b/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/index.js new file mode 100644 index 000000000..be5e6e5ac --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/index.js @@ -0,0 +1,2 @@ +exports.globalThis = globalThis; +exports.global = global; diff --git a/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/package.json b/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/package.json new file mode 100644 index 000000000..cba0742c1 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/globals/1.0.0/package.json @@ -0,0 +1,4 @@ +{ + "name": "@denotest/globals", + "version": "1.0.0" +} |
