mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
fix(tests): update AboutPage tests for new localization strings and correct reaction drag cleanup method reference
This commit is contained in:
parent
92083de57d
commit
a50a7bd899
2 changed files with 4 additions and 3 deletions
|
|
@ -118,8 +118,9 @@ describe("AboutPage.vue", () => {
|
|||
expect(wrapper.text()).toContain("hash2");
|
||||
|
||||
expect(wrapper.text()).toContain("about.dependency_chain");
|
||||
expect(wrapper.text()).toContain("about.dep_lxmf_subtitle");
|
||||
expect(wrapper.text()).toContain("about.dep_rns_subtitle");
|
||||
expect(wrapper.text()).toContain("LXMFy");
|
||||
expect(wrapper.text()).toContain("LXMF");
|
||||
expect(wrapper.text()).toContain("RNS");
|
||||
|
||||
expect(wrapper.text()).toContain("about.backend_stack");
|
||||
expect(wrapper.text()).toContain("aiohttp");
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ describe("ConversationViewer reactions", () => {
|
|||
});
|
||||
wrapper.vm.$refs.reactionPickerPanel = panel;
|
||||
wrapper.vm.onReactionPickerDragStart({ clientX: 1, clientY: 2 });
|
||||
expect(typeof wrapper.vm._reactionDragCleanup).toBe("function");
|
||||
expect(typeof wrapper.vm.reactionDragCleanup).toBe("function");
|
||||
wrapper.unmount();
|
||||
expect(() => {
|
||||
document.dispatchEvent(new Event("touchmove"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue