perf(editor): 优化播放头拖动性能
This commit is contained in:
@@ -20,7 +20,7 @@ beforeEach(() => {
|
||||
it("renders the director desk header and view mode switch", () => {
|
||||
const { container } = render(<App />);
|
||||
|
||||
expect(screen.getByText("3D导演台")).toBeInTheDocument();
|
||||
expect(screen.queryByText("3D导演台")).not.toBeInTheDocument();
|
||||
expect(screen.getByRole("button", { name: "导演视角" })).toBeInTheDocument();
|
||||
expect(screen.getByRole("button", { name: "机位视角" })).toBeInTheDocument();
|
||||
expect(container.querySelector(".top-bar-center .mode-toggle")).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user