universal_html icon indicating copy to clipboard operation
universal_html copied to clipboard

Not able to mock the package

Open RahulDole opened this issue 3 years ago • 0 comments

I am using this library to use the html.window.open() method in my code, but I'm not able to mock it for my tests. I have imported the lib like this import "package:universal_html/html.dart" as html; in the code. My test tries to verify (using mockito) whether this method was called and also verify what argument was used. Please help! Thanks :)

RahulDole avatar May 25 '21 05:05 RahulDole