expect4337Revert currently only expects a revert of a userOperation during execution, but does not care what the revert string is. Similar to vm.expectRevert("error message"), expect4337Revert should also allow a developer to specify the exact error message they expect their userOperation to revert with
expect4337Revert
currently only expects a revert of a userOperation during execution, but does not care what the revert string is. Similar tovm.expectRevert("error message")
,expect4337Revert
should also allow a developer to specify the exact error message they expect their userOperation to revert with