Skip to content

Commit

Permalink
Merge pull request #366 from denodrivers/rtyssc
Browse files Browse the repository at this point in the history
improve(test): use import.meta.resolve
  • Loading branch information
erfanium authored Jul 23, 2022
2 parents 10dfb07 + eb916a4 commit 09e6cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cases/07_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Deno.test({
name: "WORKER: Deno does not throw when deno_mongo is imported in worker",
fn: async () => {
const importWorker = new Worker(
new URL("import_worker.ts", import.meta.url).href,
import.meta.resolve("./import_worker.ts"),
{ type: "module" },
);
const p = deferred<string>();
Expand Down

0 comments on commit 09e6cfd

Please sign in to comment.