diff options
| author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-09-11 18:39:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 17:39:47 +0200 |
| commit | 1463a4ad5805b1b29f33b695ce19d4c42b671790 (patch) | |
| tree | d625cadfd283e41da78b65998ad10036619ba7bb /tests/specs/task/package_json_echo | |
| parent | c64aa50c0e4219ef623a6ec3b939ac10a4568563 (diff) | |
chore: deprecate task itests (#25558)
This PR is part of #22907
Diffstat (limited to 'tests/specs/task/package_json_echo')
| -rw-r--r-- | tests/specs/task/package_json_echo/__test__.jsonc | 9 | ||||
| -rw-r--r-- | tests/specs/task/package_json_echo/echo.out | 1 | ||||
| -rw-r--r-- | tests/specs/task/package_json_echo/package.json | 10 |
3 files changed, 20 insertions, 0 deletions
diff --git a/tests/specs/task/package_json_echo/__test__.jsonc b/tests/specs/task/package_json_echo/__test__.jsonc new file mode 100644 index 000000000..616f72f78 --- /dev/null +++ b/tests/specs/task/package_json_echo/__test__.jsonc @@ -0,0 +1,9 @@ +{ + "args": "task --quiet echo", + "output": "echo.out", + "envs": { + "NO_COLOR": "1", + "NPM_CONFIG_REGISTRY": "http://localhost:4260/" + }, + "exitCode": 0 +} diff --git a/tests/specs/task/package_json_echo/echo.out b/tests/specs/task/package_json_echo/echo.out new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/tests/specs/task/package_json_echo/echo.out @@ -0,0 +1 @@ +1 diff --git a/tests/specs/task/package_json_echo/package.json b/tests/specs/task/package_json_echo/package.json new file mode 100644 index 000000000..cedbe2d5b --- /dev/null +++ b/tests/specs/task/package_json_echo/package.json @@ -0,0 +1,10 @@ +{ + "scripts": { + "echo": "deno eval 'console.log(1)'", + "bin": "@denotest/bin hi && cli-esm testing this out && npx cli-cjs test" + }, + "dependencies": { + "@denotest/bin": "0.5", + "other": "npm:@denotest/bin@1.0" + } +} |
