时找不到模块的错误,我有以下karma.conf.js文件,我也有叫example.spec.js测试文件的生活里app/compontents/example/example.spec.js我试图导入我Example.js file import Example from 'app/components/Example/Example.jsx';
describe('Example Comp
已经在业力,摩卡柴和sinon试过一个测试用例。 一旦我使用该服务,我会收到错误信息。这是我的错误。请任何帮助。 AssertionError: expected undefined to deeply equal 'strong'
at /var/www/html/Testing/mocha/node_modules/chai/chai.js:210
at assertE
测试,这是我的规格 it('should save edited majorObject', function() {
var description = element(by.id('objectDescription'));
description.clear();
description.sendKeys('edited');
var add
我有一个BackboneView我在创建 var my_collection = new Collection();
new MyView({temp: template, collection: my_collection });
传递一个集合的观点里面,取()方法被调用集合中的构造类似这样的 export class MyView extends Backbone.View {