From af6d1960b95c89e843783376e3e1aa21e2eb8516 Mon Sep 17 00:00:00 2001 From: dswbx Date: Fri, 13 Jun 2025 17:27:58 +0200 Subject: [PATCH] fix tests --- app/__test__/App.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/__test__/App.spec.ts b/app/__test__/App.spec.ts index 5aa9ef1..e611304 100644 --- a/app/__test__/App.spec.ts +++ b/app/__test__/App.spec.ts @@ -1,5 +1,5 @@ -import { afterEach, describe, test } from "bun:test"; -import { App } from "../src"; +import { afterEach, describe, test, expect } from "bun:test"; +import { App, createApp } from "core/test/utils"; import { getDummyConnection } from "./helper"; import { Hono } from "hono"; import * as proto from "../src/data/prototype"; @@ -18,7 +18,7 @@ describe("App tests", async () => { test("plugins", async () => { const called: string[] = []; - const app = App.create({ + const app = createApp({ initialConfig: { auth: { enabled: true,