mock-browser icon indicating copy to clipboard operation
mock-browser copied to clipboard

A mock browser with window, document, location, navigation, local and session storage to use for client side code tests in a node environment.

Results 15 mock-browser issues
Sort by recently updated
recently updated
newest added

Hi, Your package is excellent. I successfuly tested url changes and DOM manipulation. I didn't find typings for you excellent mock package. I tried to implement it on my own:...

Not sure if this option is more of a jsdom thing and therefore irrelevant to this module, in any case a brief word concerning html fixtures in the docs would...

Been trying to write some code to test a document.location.protocol = file: but the new MockBrowser always creates a document of a specific type with about:blank as the location. If...

I am trying to use your Abstract browser in a react app and it doesn't work well with webpack. at some point it's also trying to pull in node modules...

console.groupCollapsed, timeStamp for example are missing. the list I have is: , LOGGERS = [ 'count' , 'debug' , 'dir' , 'dirxml' , 'error' , 'group' , 'info' , 'profile'...