1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: remove DENO_FUTURE=1 from spec tests (#25329)

Towards https://github.com/denoland/deno/issues/25241
This commit is contained in:
Bartek Iwańczuk 2024-08-31 22:25:32 +01:00 committed by GitHub
parent 3a63572187
commit 4e19474129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 5 additions and 148 deletions

View file

@ -17,9 +17,6 @@
"exitCode": 1
},
{
"envs": {
"DENO_FUTURE": "1"
},
"args": "install ajv@latest",
"output": "error: jsr:ajv was not found, but a matching npm package exists. Did you mean `deno install npm:ajv@latest`?\n",
"exitCode": 1

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -2,17 +2,11 @@
"steps": [
{
"args": "run -A --unstable-fs --config ../../../config/deno.json main.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
"output": "main.out"
},
{
"args": "run -A --unstable-fs --config ../../../config/deno.json worker.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
"output": "main.out"
}
]
}

View file

@ -3,18 +3,12 @@
{
// Notice `--unstable-*` flags are not needed anymore
"args": "run -A --config ../../../config/deno.json main.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
"output": "main.out"
},
{
// Notice `--unstable-*` flags are not needed anymore
"args": "run -A --config ../../../config/deno.json worker.js",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
"output": "main.out"
}
]
}

View file

@ -2,9 +2,6 @@
"tempDir": true,
"steps": [
{
"envs": {
"DENO_FUTURE": "1"
},
"args": "install npm:ajv@latest",
"output": "install.out"
}

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install --global --root ./bins --name deno-test-bin ./pkg/main.js",

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install npm:@denotest/esm-basic",

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install npm:@denotest/esm-basic",

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",

View file

@ -2,9 +2,6 @@
"tests": {
"install_sets_up_node_modules": {
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",
@ -27,9 +24,6 @@
},
"install_sets_up_node_modules_with_lockfile": {
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",
@ -65,9 +59,6 @@
},
"install_errors_corrupted_lockfile": {
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",

View file

@ -2,9 +2,6 @@
"tempDir": true,
"steps": [
{
"envs": {
"DENO_FUTURE": "1"
},
"args": "install",
"output": "install.out"
}

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install npm:@denotest/deprecated-package",

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"cwd": "./test-project",

View file

@ -60,9 +60,6 @@
]
},
"error_when_package_json_changed": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": [

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"args": "run --check main.ts",
"output": "main.out"
}

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"args": "run main.mjs",
"output": "main.out"
}

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [
{

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"future_not_installed": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "run -A not_installed.ts",
"output": "future_not_installed.out",
@ -12,9 +9,6 @@
}]
},
"future_invalid_sub_path": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"byonm": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"byonm": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"commandName": "npm",
"args": "install",

View file

@ -1,7 +1,4 @@
{
"args": "run -A main.ts",
"output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
"output": "main.out"
}

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
// should auto-install because no package.json
"args": "run --quiet main.ts",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
// byonm where this fails be

View file

@ -74,9 +74,6 @@
},
"future_install_lifecycle_scripts": {
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": [

View file

@ -1,8 +1,5 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"deno_install": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "install.out"

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"args": "install",
"output": "main.out",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"args": "install",
"output": "main.out",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"args": "run -A main.js",
"output": "main.out"

View file

@ -1,7 +1,6 @@
{
"tempDir": true,
"envs": {
"DENO_FUTURE": "1",
"HOME": "$PWD/../",
"USERPROFILE": "$PWD\\..\\"
},

View file

@ -1,6 +1,5 @@
{
"envs": {
"DENO_FUTURE": "1",
"USERPROFILE": "$DENO_DIR",
"HOME": "$DENO_DIR"
},

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -14,9 +14,6 @@
"output": "b/main_node_modules_dir.out"
},
"byonm": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [{
"args": "install",
"output": "[WILDCARD]"

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"conflicting_deps": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",

View file

@ -2,9 +2,6 @@
"tempDir": true,
"tests": {
"conflicting_deps": {
"envs": {
"DENO_FUTURE": "1"
},
"steps": [
{
"args": "install",

View file

@ -1,7 +1,4 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"steps": [{
"args": "install",

View file

@ -32,10 +32,6 @@
"args": "install",
"output": "[WILDCARD]"
}, {
// implied byonm from DENO_FUTURE
"envs": {
"DENO_FUTURE": "1"
},
"args": "task say",
"output": "package_json_say.out"
}, {

View file

@ -208,11 +208,6 @@ impl TestContextBuilder {
self
}
pub fn add_future_env_vars(mut self) -> Self {
self = self.env("DENO_FUTURE", "1");
self
}
pub fn add_jsr_env_vars(mut self) -> Self {
for (key, value) in env_vars_for_jsr_tests() {
self = self.env(key, value);