mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore(tests): enable single_compile_with_reload
again (#18196)
This commit is contained in:
parent
27834dfc10
commit
e4c60bc1c6
3 changed files with 6 additions and 9 deletions
|
@ -1552,11 +1552,10 @@ itest!(jsx_import_source_error {
|
||||||
exit_code: 1,
|
exit_code: 1,
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO(#11128): Flaky. Re-enable later.
|
itest!(single_compile_with_reload {
|
||||||
// itest!(single_compile_with_reload {
|
args: "run --reload --allow-read run/single_compile_with_reload.ts",
|
||||||
// args: "run --relcert/oad --allow-read run/single_compile_with_reload.ts",
|
output: "run/single_compile_with_reload.ts.out",
|
||||||
// output: "run/single_compile_with_reload.ts.out",
|
});
|
||||||
// });
|
|
||||||
|
|
||||||
itest!(proto_exploit {
|
itest!(proto_exploit {
|
||||||
args: "run run/proto_exploit.js",
|
args: "run run/proto_exploit.js",
|
||||||
|
|
|
@ -4,14 +4,14 @@ await import("./single_compile_with_reload_dyn.ts");
|
||||||
console.log("2");
|
console.log("2");
|
||||||
await new Promise((r) =>
|
await new Promise((r) =>
|
||||||
new Worker(
|
new Worker(
|
||||||
import.meta.resolve("single_compile_with_reload_worker.ts"),
|
import.meta.resolve("./single_compile_with_reload_worker.ts"),
|
||||||
{ type: "module" },
|
{ type: "module" },
|
||||||
).onmessage = r
|
).onmessage = r
|
||||||
);
|
);
|
||||||
console.log("3");
|
console.log("3");
|
||||||
await new Promise((r) =>
|
await new Promise((r) =>
|
||||||
new Worker(
|
new Worker(
|
||||||
import.meta.resolve("single_compile_with_reload_worker.ts"),
|
import.meta.resolve("./single_compile_with_reload_worker.ts"),
|
||||||
{ type: "module" },
|
{ type: "module" },
|
||||||
).onmessage = r
|
).onmessage = r
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Check [WILDCARD]single_compile_with_reload.ts
|
|
||||||
Hello
|
Hello
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
Check [WILDCARD]single_compile_with_reload_worker.ts
|
|
||||||
Hello from worker
|
Hello from worker
|
||||||
3
|
3
|
||||||
Hello from worker
|
Hello from worker
|
||||||
|
|
Loading…
Reference in a new issue