coffeescript-support/snippets/helper.snippet

14 lines
221 B
Plaintext

beforeEach(function() {
this.addMatchers({
to${1}: function() {
var summary = this.actual;
this.actual = summary.clone().wrap('<div>').parent().html();
${2}
return ${3:false};
},
});