简体   繁体   中英

karma/jasmine error - No captured browser, open http://localhost:9876/

我正在 Windows 机器上使用 vscode 为 angular(1.6.3) 应用程序编写单元测试,同时运行 npm 测试我的 chrome 浏览器没有启动,在终端中我No captured browser, open http://localhost:9876/

尝试声明这个环境变量

export CHROME_BIN="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM