simonihmig/ember-window-mock
Mock window global in tests with test-friendly replacements for location, alert/confirm/prompt/ and more.
TypeScriptMIT
Issues
- 0
Dependency Dashboard
#445 opened by renovate - 0
- 3
starting in v0.7.0, setting window.onerror results in TypeError: Illegal invocation
#438 opened by ctaylor-nurx - 1
Can no longer stub window methods using sinon
#478 opened by kevinkucharczyk - 2
How do you mock the parent or top properties?
#175 opened by NullVoxPopuli - 0
Doesn't work in an engine
#53 opened by kellyselden - 4
optional window service in addon
#52 opened by kellyselden - 2
- 6
"property 'window' is a read-only and non-configurable data property " error in first test ran
#102 opened by jasonworden - 9
IE 11 support
#80 opened by buschtoens - 0
Reported embroider incompatibility
#220 opened by simonihmig - 1
Handle nested setupWindowMock tests
#202 opened by simonihmig - 0
Support Embroider
#107 opened by simonihmig - 1
Support `window.history`
#150 opened by dbendaou - 2
- 2
- 4
`window.document` cannot be mocked / replaced
#99 opened by buschtoens - 4
Fails to use with replace
#96 opened by belgoros - 1
How to test window.open()
#93 opened by hakilebara - 2
Is there a way to extend the service?
#14 opened by kellyselden - 4
Issue mocking Notification
#85 opened by makepanic - 2
Tries to create new Proxy of null
#72 opened by makepanic - 1
- 1
- 0
Setting location.href to relative URL
#42 opened by simonihmig - 2
Support for localStorage
#43 opened by alisdair - 1
- 2
overwriting window.location changed in 0.2.0
#33 opened by kellyselden - 3
Illegal invocation of dispatchEvent in test
#36 opened by TopsyCM - 1
Broken after 0.1.2
#31 opened by hoIIer - 2
Url parser can be replaced to URL API
#5 opened by lifeart - 1
Problem binding function
#26 opened by kellyselden - 5
delete window.prop regression?
#20 opened by kellyselden - 3
Automatically run mockWindow(this) in beforeEach
#16 opened by hoIIer - 0
- 0
`location.pathname` missing in mock
#18 opened by simonihmig - 1
Thank you
#8 opened by kellyselden - 0
- 0