Skip to content

Commit 90ee6c2

Browse files
committed
avatar code coverage
1 parent a13147f commit 90ee6c2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

frontend/__tests__/app.test.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ const data = JSON.stringify(bkmkResp, null, 2);
1616

1717
let mock: any;
1818
beforeEach(async () => {
19-
const user: User = { username: "jsmith", refreshToken: "blahblajhdfh34234" };
19+
const user: User = {
20+
username: "jsmith",
21+
refreshToken: "blahblajhdfh34234",
22+
id: 1,
23+
};
2024
let MockAdapter = require("axios-mock-adapter");
2125
mock = new MockAdapter(instance);
2226
// Mock GET request to /users when param `searchText` is 'John'
@@ -211,6 +215,7 @@ describe("Bookmark Operation.", () => {
211215
},
212216
],
213217
scrapable: true,
218+
textHighlight: "",
214219
};
215220

216221
mock.onPost(tagsAPI, ["cooking"]).reply(() => {

0 commit comments

Comments
 (0)