Dor*_*hen 25 javascript internet-explorer unit-testing karma-runner
我正在使用业力在多个浏览器上运行我的js测试.该测试适用于Chrome和Firefox,但我无法在IE上激活它们.
我收到以下错误消息:
无法加载"IE",它没有注册!也许你错过了一些插件?
在我的配置文件上
SET CHROME_BIN=c:\Program Files (x86)\Google\Chrome\Application\chrome.exe
SET FIREFOX_BIN=C:\Program Files (x86)\Mozilla Firefox\firefox.exe
SET IE_BIN=C:\Program Files\Internet Explorer\iexplore.exe
Run Code Online (Sandbox Code Playgroud)
我也尝试过这个
SET IE_BIN=C:\Program Files (86)\Internet Explorer\iexplore.exe
Run Code Online (Sandbox Code Playgroud)
我已经安装了karma-ie-launcher.
你能帮助我吗?
Lan*_*erV 39
在项目的配置文件中(例如karma.config.js),检查是否列出了插件
plugins : [
'karma-junit-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-opera-launcher',
'karma-ie-launcher',
'karma-jasmine'
],
Run Code Online (Sandbox Code Playgroud)