mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-02 03:30:48 +00:00
11 lines
623 B
TypeScript
11 lines
623 B
TypeScript
import { test } from "bun:test"
|
|
import { createAppFixture } from "./fixture/app"
|
|
import { copyPlugin } from "./fixture/fixture"
|
|
|
|
// A plugin crash replaces the slot, so neither line renders.
|
|
test("a plugin draws Markdown with a syntax style that the renderer owns and reads a declared layout style", async () => {
|
|
await using plugin = await copyPlugin("native-resources")
|
|
await using setup = await createAppFixture({ config: { animations: false, plugins: [plugin.directory] } })
|
|
await setup.ready
|
|
await setup.waitForFrame((frame) => frame.includes("Plugin markdown ready") && frame.includes("Plugin padding 2"))
|
|
})
|