JS unit tests fix - use toBeUndefined() instead of toEqual(null)
Merge pull request #11931 from owncloud/fix-js-unit-tests

JS unit tests fix - use toBeUndefined() instead of toEqual(null)