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

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,
// TODO(2.0): re-enable after DENO_FUTURE=1 by default lands
"ignore": true,
"tests": {
"error_with_new_npm_dep": {
"steps": [
@ -64,7 +62,7 @@
{
"args": [
"eval",
"Deno.writeTextFileSync('deno.json', `{ \"nodeModules\": \"local-auto\" }`)"
"Deno.writeTextFileSync('deno.json', `{ \"nodeModulesDir\": \"auto\" }`)"
],
"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:
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
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:
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/1.0.0_meta.json
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:
4 | - "npm:@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
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:
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:
4 | - "jsr:@denotest/add@1": "1.0.0"
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/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:
4 | - "jsr:@denotest/add@1": "1.0.0"
5 | - },

View file

@ -1,5 +1,5 @@
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:
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
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:
1 | -
1 | +{

View file

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