diff options
| author | Luca Casonato <hello@lcas.dev> | 2024-09-18 14:08:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 14:08:21 +0200 |
| commit | 42e3a49cc7d20ea8f9ba8984c93a47b5c7174f0f (patch) | |
| tree | ba2d99a8d64dd412118e4fd450406c614e429085 /tests/specs/upgrade/stable | |
| parent | 45b17947782986d2b3f2d9f192fdc079b468b4b0 (diff) | |
tests: re-enable upgrade tests (#25680)
Diffstat (limited to 'tests/specs/upgrade/stable')
| -rw-r--r-- | tests/specs/upgrade/stable/__test__.jsonc | 23 | ||||
| -rw-r--r-- | tests/specs/upgrade/stable/upgrade.out | 10 | ||||
| -rw-r--r-- | tests/specs/upgrade/stable/version.out | 3 |
3 files changed, 36 insertions, 0 deletions
diff --git a/tests/specs/upgrade/stable/__test__.jsonc b/tests/specs/upgrade/stable/__test__.jsonc new file mode 100644 index 000000000..97e2ddb3c --- /dev/null +++ b/tests/specs/upgrade/stable/__test__.jsonc @@ -0,0 +1,23 @@ +{ + "tempDir": true, + "steps": [ + { + "args": "eval Deno.copyFileSync(Deno.execPath(),'./deno_copy');", + "exitCode": 0, + "output": "" + }, + { + "commandName": "./deno_copy", + "args": "upgrade --force", + "output": "upgrade.out", + "exitCode": 0, + "flaky": true + }, + { + "commandName": "./deno_copy", + "args": "--version", + "exitCode": 0, + "output": "version.out" + } + ] +} diff --git a/tests/specs/upgrade/stable/upgrade.out b/tests/specs/upgrade/stable/upgrade.out new file mode 100644 index 000000000..3fe8f3ee8 --- /dev/null +++ b/tests/specs/upgrade/stable/upgrade.out @@ -0,0 +1,10 @@ +Current Deno version: [WILDCARD] +Looking up stable version + +Found latest stable version [WILDCARD] + +Downloading https://github.com/denoland/deno/releases/download/[WILDCARD]/deno-[WILDCARD].zip +Deno is upgrading to version [WILDCARD] + +Upgraded successfully to Deno [WILDCARD] (stable) + diff --git a/tests/specs/upgrade/stable/version.out b/tests/specs/upgrade/stable/version.out new file mode 100644 index 000000000..43b90e51e --- /dev/null +++ b/tests/specs/upgrade/stable/version.out @@ -0,0 +1,3 @@ +deno [WILDCARD] (stable, release, [WILDCARD]) +v8 [WILDCARD] +typescript [WILDCARD] |
