var marked = require('../../marked.min.js'); it('should run the test', function () { expect(marked('Hello World!')).toBe('

Hello World!

\n'); }); // http://spec.commonmark.org/0.28/#example-230 it('should start an ordered list at 0 when requested', function () { expect(marked('0. ok')) .toBe('
    \n
  1. ok
  2. \n
\n') }); // http://spec.commonmark.org/0.28/#example-234 it('indents code within an explicitly-started ordered list', function () { expect(marked(' 10. foo\n\n bar')) .toBe('
    \n
  1. foo

    \n
    bar\n
  2. \n
\n'); });