1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

test: don't use lock file in JSX tests (#16639)

This commit is contained in:
Bartek Iwańczuk 2022-11-15 17:20:40 +01:00 committed by GitHub
parent 0832ba1deb
commit c1cb4d6a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 19 deletions

View file

@ -1338,27 +1338,27 @@ itest!(jsx_import_source_pragma {
itest!(jsx_import_source_pragma_with_config { itest!(jsx_import_source_pragma_with_config {
args: args:
"run --reload --config jsx/deno-jsx.jsonc run/jsx_import_source_pragma.tsx", "run --reload --config jsx/deno-jsx.jsonc --no-lock run/jsx_import_source_pragma.tsx",
output: "run/jsx_import_source.out", output: "run/jsx_import_source.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_pragma_with_dev_config { itest!(jsx_import_source_pragma_with_dev_config {
args: args:
"run --reload --config jsx/deno-jsxdev.jsonc run/jsx_import_source_pragma.tsx", "run --reload --config jsx/deno-jsxdev.jsonc --no-lock run/jsx_import_source_pragma.tsx",
output: "run/jsx_import_source_dev.out", output: "run/jsx_import_source_dev.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_no_pragma { itest!(jsx_import_source_no_pragma {
args: args:
"run --reload --config jsx/deno-jsx.jsonc run/jsx_import_source_no_pragma.tsx", "run --reload --config jsx/deno-jsx.jsonc --no-lock run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source.out", output: "run/jsx_import_source.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_no_pragma_dev { itest!(jsx_import_source_no_pragma_dev {
args: "run --reload --config jsx/deno-jsxdev.jsonc run/jsx_import_source_no_pragma.tsx", args: "run --reload --config jsx/deno-jsxdev.jsonc --no-lock run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_dev.out", output: "run/jsx_import_source_dev.out",
http_server: true, http_server: true,
}); });
@ -1376,25 +1376,25 @@ itest!(jsx_import_source_pragma_import_map_dev {
}); });
itest!(jsx_import_source_import_map { itest!(jsx_import_source_import_map {
args: "run --reload --import-map jsx/import-map.json --config jsx/deno-jsx-import-map.jsonc run/jsx_import_source_no_pragma.tsx", args: "run --reload --import-map jsx/import-map.json --no-lock --config jsx/deno-jsx-import-map.jsonc run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_import_map.out", output: "run/jsx_import_source_import_map.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_import_map_dev { itest!(jsx_import_source_import_map_dev {
args: "run --reload --import-map jsx/import-map.json --config jsx/deno-jsxdev-import-map.jsonc run/jsx_import_source_no_pragma.tsx", args: "run --reload --import-map jsx/import-map.json --no-lock --config jsx/deno-jsxdev-import-map.jsonc run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_import_map_dev.out", output: "run/jsx_import_source_import_map_dev.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_import_map_scoped { itest!(jsx_import_source_import_map_scoped {
args: "run --reload --import-map jsx/import-map-scoped.json --config jsx/deno-jsx-import-map.jsonc subdir/jsx_import_source_no_pragma.tsx", args: "run --reload --import-map jsx/import-map-scoped.json --no-lock --config jsx/deno-jsx-import-map.jsonc subdir/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_import_map.out", output: "run/jsx_import_source_import_map.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_import_map_scoped_dev { itest!(jsx_import_source_import_map_scoped_dev {
args: "run --reload --import-map jsx/import-map-scoped.json --config jsx/deno-jsxdev-import-map.jsonc subdir/jsx_import_source_no_pragma.tsx", args: "run --reload --import-map jsx/import-map-scoped.json --no-lock --config jsx/deno-jsxdev-import-map.jsonc subdir/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_import_map_dev.out", output: "run/jsx_import_source_import_map_dev.out",
http_server: true, http_server: true,
}); });
@ -1406,14 +1406,14 @@ itest!(jsx_import_source_pragma_no_check {
}); });
itest!(jsx_import_source_pragma_with_config_no_check { itest!(jsx_import_source_pragma_with_config_no_check {
args: "run --reload --config jsx/deno-jsx.jsonc --no-check run/jsx_import_source_pragma.tsx", args: "run --reload --config jsx/deno-jsx.jsonc --no-lock --no-check run/jsx_import_source_pragma.tsx",
output: "run/jsx_import_source.out", output: "run/jsx_import_source.out",
http_server: true, http_server: true,
}); });
itest!(jsx_import_source_no_pragma_no_check { itest!(jsx_import_source_no_pragma_no_check {
args: args:
"run --reload --config jsx/deno-jsx.jsonc --no-check run/jsx_import_source_no_pragma.tsx", "run --reload --config jsx/deno-jsx.jsonc --no-lock --no-check run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source.out", output: "run/jsx_import_source.out",
http_server: true, http_server: true,
}); });
@ -1425,7 +1425,7 @@ itest!(jsx_import_source_pragma_import_map_no_check {
}); });
itest!(jsx_import_source_import_map_no_check { itest!(jsx_import_source_import_map_no_check {
args: "run --reload --import-map jsx/import-map.json --config jsx/deno-jsx-import-map.jsonc --no-check run/jsx_import_source_no_pragma.tsx", args: "run --reload --import-map jsx/import-map.json --no-lock --config jsx/deno-jsx-import-map.jsonc --no-check run/jsx_import_source_no_pragma.tsx",
output: "run/jsx_import_source_import_map.out", output: "run/jsx_import_source_import_map.out",
http_server: true, http_server: true,
}); });

View file

@ -1,8 +0,0 @@
{
"version": "2",
"remote": {
"http://localhost:4545/jsx/jsx-dev-runtime": "7cac3d940791b3c8e671b24f9678ca37d87d40487ed2b3720a2a40891aa6173d",
"http://localhost:4545/jsx/jsx-dev-runtime/index.ts": "183c5bf1cfb82b15fc1e8cca15593d4816035759532d851abd4476df378c8412",
"http://localhost:4545/jsx/jsx-runtime": "7cac3d940791b3c8e671b24f9678ca37d87d40487ed2b3720a2a40891aa6173d"
}
}