mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
Fix imports
This commit is contained in:
parent
a70a10cf63
commit
4e475ade24
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user