Fix imports

This commit is contained in:
Trevor Manz 2024-11-05 12:47:01 -05:00
parent a70a10cf63
commit 4e475ade24

View File

@ -1,8 +1,8 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import * as path from "jsr:@std/path"; import * as path from "@std/path";
import { Buffer } from "node:buffer"; import { Buffer } from "node:buffer";
import * as fs from "node:fs/promises"; import * as fs from "node:fs/promises";
import { assert, assertEquals } from "jsr:@std/assert"; import { assert, assertEquals } from "@std/assert";
const moduleDir = path.dirname(path.fromFileUrl(import.meta.url)); const moduleDir = path.dirname(path.fromFileUrl(import.meta.url));
const testData = path.resolve(moduleDir, "testdata", "hello.txt"); const testData = path.resolve(moduleDir, "testdata", "hello.txt");