无法加载“IE”,它未注册! Karma上的错误消息 [英] Can not load "IE", it is not registered! error message on Karma

查看:102
本文介绍了无法加载“IE”,它未注册! Karma上的错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用业力在多个浏览器上运行我的js测试。
该测试适用于Chrome& Firefox但我无法在IE上激活它们。

I'm using karma to run my js tests on multiple browsers. the test works on Chrome & Firefox but I can't activate them on IE.

我收到以下错误消息:


无法加载IE,它没有注册!也许你错过了一些
插件?

Can not load "IE", it is not registered! Perhaps you are missing some plugin?

在我的配置文件中

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  

我也试过这个

SET IE_BIN=C:\Program Files (86)\Internet Explorer\iexplore.exe  

我已安装 karma-ie-launcher

你能帮助我吗?

推荐答案

在配置文件中你的项目(例如karma.config.js),检查你是否列出了插件

In the configuration file for your project (e.g. karma.config.js), check if you have the plugins listed

plugins : [
    'karma-junit-reporter',
    'karma-chrome-launcher',
    'karma-firefox-launcher',
    'karma-opera-launcher',
    'karma-ie-launcher',
    'karma-jasmine'
    ],

这篇关于无法加载“IE”,它未注册! Karma上的错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆