Skip to content

Add VerifyInvoke assertion methods to JSRuntimeInvocationHandler #258

@egil

Description

@egil

The VerifyInvoke and VerifyNotInvoked extension methods currently only target BunitJSInterop, but it would be useful if they were also available for JSRuntimeInvocationHandler, so it is possible to verify only for invocation for specific handlers.

The code will be more or less identical, since both JSRuntimeInvocationHandler and BunitJSInterop has a Invocation list that contains the same type, and is the one we are verifying against. So adding the appropriate overrides to JSRuntimeAssertExtensions should be all thats needed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions