mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user