`testURL: 'http://localhost'` should be added, to avoid JSDom failure in the current version of Jest.