require('babel-register') // use a mock DOM so we can run mithril on the server require('mithril/test-utils/browserMock')(global) const kepubify = require('../src/kepubify').default console.log(1, kepubify(`
textaaaa
Some text. Woo not. Here is another sentence.
More text tail
body tail html tail`) === `\n\ntextaaaa
Some text. Woo not. Here is another sentence.
More text tail
body tailDated: June 5th. Wohoo
`) === `Dated: June 5th. Wohoo