define(['lib/markdown'], function (markdown) { describe('markdown', function () { it('→ converts to html', function () { var expected = '
some example ' + 'yo
\n'; var actual = markdown('some *example* [yo](http://example.com)'); expect(actual).toBe(expected); }); }); });