leton.js"></script>

<script class="mocha-init">
    mocha.setup('bdd');
    mocha.checkLeaks();

    describe('xml-formatter on browser', () => {

        it('is available using require', () => {
            const xmlFormat = require('xml-formatter');
            chai.assert.strictEqual(xmlFormat('<p><b>content</b></p>', {lineSeparator: '\n', collapseContent: true}), '<p>\n    <b>content</b>\n</p>');
        });

        it('is available as a standalone function', () => {
            chai.assert.strictEqua