mock `capabilities.widescreen` as a function