chore: remove $fresh from import statements (#2079)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Reed von Redwitz
2023-11-28 16:43:50 +00:00
committed by GitHub
co-authored by Marvin Hagemeister
parent b902205feb
commit ad33501692
11 changed files with 34 additions and 32 deletions
+4 -4
View File
@@ -1,15 +1,14 @@
import { colors, toFileUrl } from "$fresh/src/server/deps.ts";
import * as path from "$std/path/mod.ts";
import {
FromManifestConfig,
Manifest,
ServeHandlerInfo,
ServerContext,
} from "$fresh/server.ts";
} from "../server.ts";
import {
assert,
assertEquals,
basename,
colors,
delay,
dirname,
DOMParser,
@@ -19,6 +18,7 @@ import {
Page,
puppeteer,
TextLineStream,
toFileUrl,
} from "./deps.ts";
export interface TestDocument extends Document {
@@ -507,7 +507,7 @@ export async function recreateFolder(folderPath: string) {
}
export async function runBuild(fixture: string) {
const outDir = path.join(path.dirname(fixture), "_fresh");
const outDir = join(dirname(fixture), "_fresh");
try {
await Deno.remove(outDir, { recursive: true });
} catch {