coffeescript-support/snippets/helper.snippet

14 lines
221 B
Plaintext
Raw Normal View History

2011-01-31 03:13:44 +00:00
beforeEach(function() {
this.addMatchers({
to${1}: function() {
var summary = this.actual;
this.actual = summary.clone().wrap('<div>').parent().html();
${2}
return ${3:false};
},
});