Cap*_*arl 3 jasmine middleman jasmine-jquery
每当我loadFixture()打电话或在本文下面进行测试时,我都会收到错误消息:
Frontend should be able to set fixtures.
TypeError: undefined is not a function
TypeError: undefined is not a function
at jasmine.Fixtures.cleanUp (http://localhost:4567/__spec__/helpers/jasmine-jquery.js:89:5)
at null.<anonymous> (http://localhost:4567/__spec__/helpers/jasmine-jquery.js:641:27)
at jasmine.Block.execute (http://localhost:4567/__jasmine__/jasmine.js:1064:17)
at jasmine.Queue.next_ (http://localhost:4567/__jasmine__/jasmine.js:2096:31)
at http://localhost:4567/__jasmine__/jasmine.js:2086:18
it("should be able to set fixtures", function() {
expect(setFixtures).toBeDefined(); // Notice I took out the ()
});
Run Code Online (Sandbox Code Playgroud)
似乎加载了jasmine-jquery,否则我得到ReferenceError: setFixtures is not defined错误.
关于发生了什么的任何线索?
| 归档时间: |
|
| 查看次数: |
3841 次 |
| 最近记录: |