refactor: extract render entrypoint & add cropRender function

This commit is contained in:
Shibo Lyu 2025-12-16 16:41:30 +08:00
parent d97546f47c
commit c703b1870a
16 changed files with 630 additions and 181 deletions

View file

@ -1,7 +1,7 @@
import { describe, it, expect } from "vitest";
import { applyChange, createSection } from "../src/logic/section.ts";
import type { SectionData } from "../src/types/section.ts";
import { applyChange, createSection } from "../src/logic/section";
import type { SectionData } from "../src/types/section";
describe("section", () => {
let section: SectionData | undefined;