import { NetworkInterfaceBuilder } from "../interfaces/NetworkInterfaceBuilder" import { Effects } from "../types" import { createUtils } from "../util" describe("host", () => { test("Testing that the types work", () => { async function test(effects: Effects) { const utils = createUtils(effects) const foo = utils.host.multi("foo") const fooOrigin = await foo.bindPort(80, { protocol: "http" as const }) const fooInterface = new NetworkInterfaceBuilder({ effects, name: "Foo", id: "foo", description: "A Foo", hasPrimary: false, disabled: false, type: "ui", username: "bar", path: "/baz", search: { qux: "yes" }, }) await fooInterface.export([fooOrigin]) } }) })