test: reenable frozen_lockfile tests (#25381)

Ref https://github.com/denoland/deno/issues/25241
This commit is contained in:
Bartek Iwańczuk 2024-09-03 11:43:10 +01:00 committed by GitHub
parent 5cf97f539b
commit 241fa7bc97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 12 additions and 16 deletions

View file

@ -1,7 +1,5 @@
{ {
"tempDir": true, "tempDir": true,
// TODO(2.0): re-enable after DENO_FUTURE=1 by default lands
"ignore": true,
"tests": { "tests": {
"error_with_new_npm_dep": { "error_with_new_npm_dep": {
"steps": [ "steps": [
@ -64,7 +62,7 @@
{ {
"args": [ "args": [
"eval", "eval",
"Deno.writeTextFileSync('deno.json', `{ \"nodeModules\": \"local-auto\" }`)" "Deno.writeTextFileSync('deno.json', `{ \"nodeModulesDir\": \"auto\" }`)"
], ],
"output": "[WILDCARD]" "output": "[WILDCARD]"
}, },

View file

@ -1,3 +1,3 @@
{ {
"nodeModulesDir": true "nodeModulesDir": "auto"
} }

View file

@ -1,4 +1,4 @@
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "npm:@denotest/add@1": "1.0.0" 4 | - "npm:@denotest/add@1": "1.0.0"
4 | + "npm:@denotest/add@1": "1.0.0", 4 | + "npm:@denotest/add@1": "1.0.0",

View file

@ -1,5 +1,5 @@
Download http://localhost:4545/welcome.ts Download http://localhost:4545/welcome.ts
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
10 | - } 10 | - }
10 | + }, 10 | + },

View file

@ -1,7 +1,7 @@
Download http://127.0.0.1:4250/@denotest/add/meta.json Download http://127.0.0.1:4250/@denotest/add/meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "npm:@denotest/add@1": "1.0.0" 4 | - "npm:@denotest/add@1": "1.0.0"
4 | + "jsr:@denotest/add@1": "1.0.0", 4 | + "jsr:@denotest/add@1": "1.0.0",

View file

@ -1,5 +1,5 @@
Download http://localhost:4260/@denotest/subtract Download http://localhost:4260/@denotest/subtract
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "npm:@denotest/add@1": "1.0.0" 4 | - "npm:@denotest/add@1": "1.0.0"
4 | + "npm:@denotest/add@1": "1.0.0", 4 | + "npm:@denotest/add@1": "1.0.0",

View file

@ -1,4 +1,4 @@
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "jsr:@denotest/add@1": "1.0.0" 4 | - "jsr:@denotest/add@1": "1.0.0"
5 | - }, 5 | - },

View file

@ -1,6 +1,6 @@
Download http://127.0.0.1:4250/@denotest/add/0.2.0_meta.json Download http://127.0.0.1:4250/@denotest/add/0.2.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/0.2.0/mod.ts Download http://127.0.0.1:4250/@denotest/add/0.2.0/mod.ts
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "jsr:@denotest/add@1": "1.0.0" 4 | - "jsr:@denotest/add@1": "1.0.0"
5 | - }, 5 | - },

View file

@ -1,5 +1,5 @@
Download http://localhost:4260/@denotest/subtract Download http://localhost:4260/@denotest/subtract
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
4 | - "npm:@denotest/add@1": "1.0.0" 4 | - "npm:@denotest/add@1": "1.0.0"
4 | + "npm:@denotest/add@1": "1.0.0", 4 | + "npm:@denotest/add@1": "1.0.0",

View file

@ -1,5 +1,5 @@
Download http://localhost:4260/@denotest/add Download http://localhost:4260/@denotest/add
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it. error: The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.
changes: changes:
1 | - 1 | -
1 | +{ 1 | +{

View file

@ -1,11 +1,9 @@
{ {
"tempDir": true, "tempDir": true,
// TODO(2.0): re-enable after DENO_FUTURE=1 by default lands
"ignore": true,
"steps": [ "steps": [
{ {
"args": "cache index.js", "args": "install",
"output": "cache.out" "output": "install.out"
}, },
{ {
"args": [ "args": [