mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-15 13:34:53 +02:00
Autolink.
This commit is contained in:
@@ -3,8 +3,6 @@ title: Jasmine
|
||||
layout: default
|
||||
---
|
||||
|
||||
[Jasmine](http://pivotal.github.com/jasmine/).
|
||||
|
||||
describe("A suite", function() {
|
||||
it("contains spec with an expectation", function() {
|
||||
expect(true).toBe(true);
|
||||
@@ -133,3 +131,7 @@ Jasmine jQuery
|
||||
$('#some_element').click();
|
||||
expect('click').toHaveBeenPreventedOn($('#some_element'));
|
||||
expect('click').toHaveBeenTriggeredOn($('#some_element'));
|
||||
|
||||
### Reference
|
||||
|
||||
* http://pivotal.github.com/jasmine/
|
||||
|
||||
Reference in New Issue
Block a user