Skip to content

Commit 80f276a

Browse files
committed
Mock morpher on Component for tests.
1 parent 458686c commit 80f276a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function getComponent(html, id, name, data) {
118118
document: getDocument(html),
119119
messageUrl: "test",
120120
walker: walkDOM,
121-
morphdom,
121+
morpher: { morph: morphdom },
122122
window: {
123123
document: { title: "" },
124124
history: mockHistory,

0 commit comments

Comments
 (0)