summaryrefslogtreecommitdiff
path: root/tests/testdata/run/worker_close_in_wasm_reactions.js
blob: 95f34e944db1c1bff4e8c3e2a40048d768ee6508 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

// https://github.com/denoland/deno/issues/12263
// Test for a panic that happens when a worker is closed in the reactions of a
// WASM async operation.

new Worker(
  import.meta.resolve("../workers/close_in_wasm_reactions.js"),
  { type: "module" },
);