From 3367fa6bf90c9357bbecfdc1df6207de59ca95fb Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 2 Nov 2025 07:15:43 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/install/lockfile/bun.lock.zig | 2 +- test/cli/install/verdaccio.test.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/install/lockfile/bun.lock.zig b/src/install/lockfile/bun.lock.zig index 8922d8a796..9b8e8b8975 100644 --- a/src/install/lockfile/bun.lock.zig +++ b/src/install/lockfile/bun.lock.zig @@ -2231,6 +2231,7 @@ fn parseAppendDependencies( const string = []const u8; const ExtractTarball = @import("../extract_tarball.zig"); +const PackageManagerResolution = @import("../PackageManager/PackageManagerResolution.zig"); const std = @import("std"); const Integrity = @import("../integrity.zig").Integrity; @@ -2252,7 +2253,6 @@ const Dependency = Install.Dependency; const DependencyID = Install.DependencyID; const PackageID = Install.PackageID; const PackageManager = bun.install.PackageManager; -const PackageManagerResolution = @import("../PackageManager/PackageManagerResolution.zig"); const PackageNameHash = Install.PackageNameHash; const Repository = Install.Repository; const Resolution = Install.Resolution; diff --git a/test/cli/install/verdaccio.test.ts b/test/cli/install/verdaccio.test.ts index 8a1322d008..ed160ec96b 100644 --- a/test/cli/install/verdaccio.test.ts +++ b/test/cli/install/verdaccio.test.ts @@ -1,18 +1,18 @@ -import { test, expect } from "bun:test"; +import { expect, test } from "bun:test"; import { VerdaccioRegistry } from "harness"; test("verdaccio should work", async () => { const registry = new VerdaccioRegistry(); await registry.start(); - + const url = registry.registryUrl(); console.log("Registry URL:", url); - + const response = await fetch(`${url}no-deps`); expect(response.status).toBe(200); - + const data = await response.json(); expect(data.name).toBe("no-deps"); - + registry.stop(); });