jasmine-jquery icon indicating copy to clipboard operation
jasmine-jquery copied to clipboard

jQuery matchers and fixture loader for Jasmine framework

Results 67 jasmine-jquery issues
Sort by recently updated
recently updated
newest added

I did everything was said, but I don know why I can't make it work. ``` javascript { "spec_dir": "spec", "spec_files": [ "**/*[sS]pec.js" ], "helpers": [ "helpers/**/jquery.min.js", "helpers/**/jasmine.js", "helpers/**/jasmine-jquery.js" ],...

**toBeEmpty** fails when checked object is not defined, but matcher when used in with .not does not fail if checked node is undefined. ``` javascript describe("toBeEmpty() bug with undefined", function()...

The sencario is coding as follow: ``` js it("when trigger a jQuery custom event", function () { var obj = {} var spyEvent = spyOnEvent(obj, 'customEvent') $(obj).on('customEvent', function (event, data)...

An addition to `toHaveLength()` would be `toHaveMinLength()`. Would just check if the length is more than the specified value.

I've added a way to disable fixture teardown by disabling the cleanUp method; a bit messy, but for when fixture generation is expensive, or the environment is complex enough that...

Using ``` javascript expect(spyEvent).toHaveBeenTriggered(); ``` does not work for me in Safari 5 on Windows. However, in newer Safari versions (e.g. 6 or 9) it works. Necessary workaround at the...

Im trying to use toHaveCss() matcher with integer values: ``` expect($('').toHaveCss({bottom: 0, top: 0}); >>>TypeErroTypeError: value.replace is not a function in http://localhost:8080/tests/lib/jasmine/jasmine-jquery.js (line 394) ``` Ok, I understand the error,...

When loading `jasmine-jquery` after loading my platform's jquery version (1.3.2), I get the following error: ``` Uncaught TypeError: $.ajax(...).fail is not a function at /home/eric/Code/tmac-internal/node_modules/jasmine-jquery/lib/jasmine-jquery.js:138 ``` I'm loading the test...

After loading a fixture I can access the elements correctly inside an "describe"-block. However, when trying to access them inside a "it"-function, jquery will return an empty object. What is...

It's a weird behaviour that is happening on my tests. First, I confess that i'm new on it, but i've made my researches and didn't find anything that helps me....