Skip to content

Commit 14eff08

Browse files
committed
Fix test
1 parent de8f6ee commit 14eff08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webview-ui/src/components/chat/__tests__/TaskHeader.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// npx jest src/components/chat/__tests__/TaskHeader.test.tsx
2+
13
import React from "react"
24
import { render, screen } from "@testing-library/react"
35
import TaskHeader from "../TaskHeader"
@@ -45,7 +47,7 @@ describe("TaskHeader", () => {
4547
}}
4648
/>,
4749
)
48-
expect(screen.getByText("$0.0500")).toBeInTheDocument()
50+
expect(screen.getByText("$0.05")).toBeInTheDocument()
4951
})
5052

5153
it("should not display cost when totalCost is 0", () => {

0 commit comments

Comments
 (0)