How to use mithril-node-render - 1 common examples

To help you get started, we’ve selected a few mithril-node-render examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ArthurClemens / polythene / scripts / testing.es6 View on Github external
export const matchSnapshot = (cmp) => {
    const html = beautify(render(cmp));
    expect(html).toMatchSnapshot();
};

mithril-node-render

Node rending of mithril views

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis

Popular mithril-node-render functions