Having the following error with
npm run test
ERROR [phantomjs.launcher]: SetProcessDpiAwareness failed: "COM error 0x80070005 (Unknown error 0x0ffffffff80070005)"
According to this thread 14095, the fix is to launch with:
phantomjs -platform windows:dpiawareness=0