mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-23 14:55:11 +00:00
17 lines
598 B
TypeScript
17 lines
598 B
TypeScript
import { afterAll, beforeAll, describe } from "bun:test";
|
|
import * as solidStart from "./solid-start.adapter";
|
|
import { disableConsoleLog, enableConsoleLog } from "core/utils";
|
|
import { adapterTestSuite } from "adapter/adapter-test-suite";
|
|
import { bunTestRunner } from "adapter/bun/test";
|
|
import type { SolidStartBkndConfig } from "./solid-start.adapter";
|
|
|
|
beforeAll(disableConsoleLog);
|
|
afterAll(enableConsoleLog);
|
|
|
|
describe("solid-start adapter", () => {
|
|
adapterTestSuite<SolidStartBkndConfig>(bunTestRunner, {
|
|
makeApp: solidStart.getApp,
|
|
makeHandler: solidStart.serve,
|
|
});
|
|
});
|