Rather than mocking ua-parser-js there is the option of mocking the userAgent getter with jest. With this approach you can then use whatever ...
確定! 回上一頁