mirror of
https://github.com/denoland/deno
synced 2024-09-19 16:12:30 +00:00
15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
import { assert, unitTest } from "./test_util.ts";
|
|
|
|
unitTest(
|
|
{ perms: { read: true } },
|
|
function utimeSyncFileSuccess() {
|
|
const w = new Worker(
|
|
new URL("../workers/worker_types.ts", import.meta.url).href,
|
|
{ type: "module" },
|
|
);
|
|
assert(w);
|
|
w.terminate();
|
|
},
|
|
);
|