All files / packages/design-system/shared/utils beautify.js

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12    1x 6x                
import { html as htmlBeautify } from 'js-beautify';
 
export const beautify = html =>
  htmlBeautify(html, {
    brace_style: 'end-expand',
    indent_size: 2,
    indent_char: ' ',
    unformatted: [],
    'wrap_line_length ': 78,
    indent_inner_html: true
  });