Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
bparrishMines committed Jun 7, 2022
commit 0ea87fb0f9cae4cf47c2bf174da478b8b73e03e3
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,10 @@ void main() {
TestWKScriptMessageHandlerHostApi.setup(
MockTestWKScriptMessageHandlerHostApi(),
);
final WKScriptMessageHandler handler =
WKScriptMessageHandler(didReceiveScriptMessage: (_, __) {}, instanceManager: instanceManager,);
final WKScriptMessageHandler handler = WKScriptMessageHandler(
didReceiveScriptMessage: (_, __) {},
instanceManager: instanceManager,
);

userContentController.addScriptMessageHandler(handler, 'handlerName');
verify(mockPlatformHostApi.addScriptMessageHandler(
Expand Down