Skip to content

Commit cf04223

Browse files
committed
Fixing error messaage in test
1 parent f6efbb6 commit cf04223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/assets/test/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class MockedAjaxCall {
218218
requestInfo.push(` DATA: ${JSON.stringify(this.getRequestBody())}`);
219219
}
220220
if (this.expectedActions.length === 1) {
221-
requestInfo.push(` Expected URL to contain action /${this.expectedActions[0]}`)
221+
requestInfo.push(` Expected URL to contain action /${this.expectedActions[0].name}`)
222222
}
223223

224224
return requestInfo.join("\n");

0 commit comments

Comments
 (0)