Skip to content
Commit cc6c1529 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed matchMedia usage to make unit tests work in PhantomJS

PhantomJS has a bug that makes it impossible to properly stub
window.matchMedia. This fix adds a wrapper as OC._matchMedia
that is used for unit tests
parent fe04106e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment