腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(122)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
使用
ng-html2js
的AngularJS指令测试
关于
ng-html2js
插件有很多问题,但不幸的是,所有的答案都没有帮助我解决y问题。 'app/views/**/*.html': ['
ng-html2js
']我想测试的指令是非常基本的
浏览 4
提问于2014-09-08
得票数 2
回答已采纳
1
回答
使用
ng-html2js
进行templateUrl测试的指令
them during testing 'source/html/partials/*.html' : '
ng-html2js
浏览 2
修改于2014-04-11
得票数 5
回答已采纳
2
回答
Karma
ng-html2js
预处理器不生成模块
有没有办法记录
ng-html2js
传入/传出的内容?function(config) { plugins: [ '
ng-html2js
angular/angular.min.js' reporters: ['progress'], '**/
浏览 0
提问于2014-11-07
得票数 2
1
回答
用
ng-html2js
进行AngularJS组件测试
/src/modules/**/*.html': ['
ng-html2js
'] // strip
浏览 4
提问于2017-04-20
得票数 0
回答已采纳
4
回答
AngularJS + Karma +
Ng-html2js
=>未能实例化模块...html
这是我的业力配置文件: 'directives/loading/templates/loading.html': '
ng-html2js
' files:
浏览 6
修改于2013-10-15
得票数 26
1
回答
ng-html2js
不适用于幻影,而适用于Chrome。
我正在测试一个使用templateUr和
ng-html2js
将模板加载到模块中的指令。frameworks: ['jasmine'], preprocessors: {'directive/**/*.html':['
ng-html2js
浏览 4
修改于2014-10-31
得票数 2
回答已采纳
4
回答
原因抛出错误:无法加载"
ng-html2js
",因此未注册。
at http://localhost:9876/WARN [preprocess]: Can not load "
ng-html2js
浏览 1
修改于2015-07-16
得票数 39
回答已采纳
2
回答
单元测试角指令templateUrl (包括需求和
ng-html2js
)
我正在开发一个尚未开发的大角度应用程序。我对业力单元测试有问题。长话短说,我用的是角度和要求。如果我将模板嵌入到我的指令中,我的测试就会运行良好。但是,由于这个应用程序将是巨大的,它将不会规模。但是,当我移动模板并使用templateUrl在指令中加载它时,我无法消除以下错误之一(取决于我修改conf的方式): - when I put `{pattern: 'path/to/mytpl.html', i
浏览 0
修改于2014-08-21
得票数 5
回答已采纳
2
回答
karma -
ng-html2js
-预处理器不工作gulp + angular +karma+ng-html2js
'karma-ng-html2js-preprocessor' preprocessors: { 'app/**/*.html': '
ng-html2js
浏览 3
修改于2015-02-11
得票数 6
2
回答
测试角指令时,即使使用
ng-html2js
,也会产生“意外请求”。
['progress'], 'src/modules/**/*.html': '
ng-html2js
浏览 1
提问于2014-04-04
得票数 25
回答已采纳
1
回答
配置业力
ng-html2js
预处理程序,以便在目录中找到我的模板。
angular.js', ], 'app/partials/*.html': '
ng-html2js
浏览 1
提问于2014-04-03
得票数 10
回答已采纳
1
回答
无法让
ng-html2js
与业力+茉莉花+幻影一起正常工作。
我一直在尝试将
ng-html2js
配置为我的简单指令测试(可以找到整个项目源代码)。/app', 'components/**/*.tpl.html': ["
ng-html2js
"] }这将返回一个意外的get请求错误,这个错误应该通过导入karma.conf.js上配置的
浏览 4
修改于2016-07-12
得票数 0
1
回答
为什么在使用
ng-html2js
预处理我的AngularJS模板时,我会得到一个Lexer错误?
我正在尝试使用Karma为AngularJS指令编写单元测试。为了能够在测试中使用指令的模板,我使用了。<div class="test" height: vm.height, 'margin-top': vm.y}">错误消息: 错误:$parse:lexer
浏览 5
提问于2015-11-06
得票数 1
回答已采纳
1
回答
即使对于带有“意外请求”的
ng-html2js
,带有templateUrl的karma角单元测试指令也会失败。
preprocessors : { '**/partials/directives/*.html': '
ng-html2js
浏览 1
修改于2014-02-06
得票数 2
回答已采纳
1
回答
Mimosa业力配置
pattern: "source/apps/common/partials/*.html", included: true} "**/*.html": "
ng-html2js
未注册预处理器"
Ng-html2js
“。 我注意到..。
浏览 7
提问于2014-12-10
得票数 2
回答已采纳
2
回答
“错误:意外请求”在卡玛角单元测试中的应用
我使用
ng-html2js
作为预处理程序。这是我的一些karma.conf.js 'karma-jasmine', 'app/scripts/directives/**/*.html':
浏览 6
提问于2014-05-02
得票数 6
回答已采纳
1
回答
基本业力角1.5分量试验
我现在拥有的是:... 'module-a/module-a.view.html': ['
ng-html2js
'], 'module-z/module-z.view.html': ['
ng-html2js
'] moduleName: 'theTemplates
浏览 2
修改于2016-07-22
得票数 1
回答已采纳
1
回答
Karma无效配置文件
test.js',], mypath +'/public/app/**/*.html':['
ng-html2js
']然而,当我运行测试时,它会出现错误: mypath +'/public/app/*
浏览 4
提问于2015-08-11
得票数 0
回答已采纳
1
回答
html2js stripPrefix基于用户的正则表达式
我正在尝试使用
ng-html2js
来填充我的$templateCache来运行一些单元测试。//project2//Content//Templates/**/*.html': ['
ng-html2js
']它将缓存条目存储为: "C:\Users\user\Documents\
浏览 1
提问于2015-04-15
得票数 2
2
回答
AngularJS业力测试:意外请求: GET.template.html
我已经执行了所有步骤,,但我觉得
ng-html2js
预处理程序没有正常工作。'**/*.html', ], '**/*.html': ['
ng-html2js
浏览 12
提问于2016-06-17
得票数 4
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
点击加载更多
领券