3
Всякий раз, когда я делаю loadFixture()
вызов или испытание под этим текстом я получаю сообщение об ошибке с указанием:Жасмин-JQuery «не определено не является функцией»
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()
});
жасмин-JQuery, кажется, быть загружен, в противном случае я получаю ReferenceError: setFixtures is not defined
как ошибка.
Любые подсказки относительно того, что происходит?
Большое спасибо, что спасло мне много времени! – shadowhorst