mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
test: don't use lock file in JSX tests (#16639)
This commit is contained in:
parent
0832ba1deb
commit
c1cb4d6a8d
2 changed files with 11 additions and 19 deletions
|
@ -1338,27 +1338,27 @@ itest!(jsx_import_source_pragma {
|
|||
|
||||
itest!(jsx_import_source_pragma_with_config {
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
itest!(jsx_import_source_pragma_with_dev_config {
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
itest!(jsx_import_source_no_pragma {
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
@ -1376,25 +1376,25 @@ itest!(jsx_import_source_pragma_import_map_dev {
|
|||
});
|
||||
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
@ -1406,14 +1406,14 @@ itest!(jsx_import_source_pragma_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",
|
||||
http_server: true,
|
||||
});
|
||||
|
||||
itest!(jsx_import_source_no_pragma_no_check {
|
||||
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",
|
||||
http_server: true,
|
||||
});
|
||||
|
@ -1425,7 +1425,7 @@ itest!(jsx_import_source_pragma_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",
|
||||
http_server: true,
|
||||
});
|
||||
|
|
8
cli/tests/testdata/jsx/deno.lock
vendored
8
cli/tests/testdata/jsx/deno.lock
vendored
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue