Skip to content

Commit 477951f

Browse files
committed
fix(web): correct loom-import stale row test mock order
Made-with: Cursor
1 parent ddbf8b0 commit 477951f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/__tests__/unit/loom-import.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ describe("importFromLoom", () => {
137137
it("removes a stale Loom row and recreates it with the Cap video id", async () => {
138138
whereMock
139139
.mockResolvedValueOnce([{ importedVideoId: "stale-row", videoId: null }])
140-
.mockResolvedValueOnce([{ id: "bucket-1" }])
141-
.mockResolvedValueOnce(undefined);
140+
.mockResolvedValueOnce(undefined)
141+
.mockResolvedValueOnce([{ id: "bucket-1" }]);
142142

143143
const fetchMock = vi.mocked(fetch);
144144
fetchMock.mockImplementation(async (input) => {

0 commit comments

Comments
 (0)