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:
parent
5cf97f539b
commit
241fa7bc97
12 changed files with 12 additions and 16 deletions
|
@ -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]"
|
||||
},
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"nodeModulesDir": true
|
||||
"nodeModulesDir": "auto"
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 | + },
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 | - },
|
||||
|
|
|
@ -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 | - },
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 | +{
|
||||
|
|
|
@ -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": [
|
||||
|
|
Loading…
Reference in a new issue