No results found in DevOps Curriculum.

Best results in other decks

Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common task, we should have an efficient way to do it...

...a selector like "span.foo" and turn it into a element for you: up.element (from Unpoly) jasmine-fixture (requires jQuery) dom-create-element-query-selector Here is the example above using...

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This card explores various methods to achieve this. Example

...is to write a function that can swap out its internal implementation with a Jasmine spy later. This adds a little noise to your module, but allows you to keep...

Search in all decks