/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/future_install_node_modules/__test__.jsonc
61 строка
1 KB
Nathan Whitaker
feat(lockfile): default to lockfile v5 (#28950)
17 апр 2025, 23:27
Не верифицирован
17 апр 2025, 23:27
f411ccd
Код
Авторство
О чём код?
{ "tests": { "install_sets_up_node_modules": { "tempDir": true, "steps": [ { "args": "install", "output": "install.out" }, { // ensure deps are actually cached "args": "run --cached-only main.js", "output": "" }, { // check for lockfile "args": [ "eval", "console.log(Deno.readTextFileSync('./deno.lock').trim())" ], "output": "deno.lock.out" } ] }, "install_sets_up_node_modules_with_lockfile": { "tempDir": true, "steps": [ { "args": "install", "output": "install.out" }, { // check for lockfile "args": [ "eval", "console.log(Deno.readTextFileSync('./deno.lock').trim())" ], "output": "deno.lock.out" }, { // remove the lockfile "args": [ "eval", "Deno.removeSync('node_modules', {recursive: true});" ], "output": "" }, { // install, this time should use the lockfile "args": "install", "output": "install_lockfile.out" }, { // make sure we created the node_modules dir "args": ["eval", "Deno.statSync('node_modules')"], "output": "" } ] } } }