no-unnecessary-blocks.test.js 225 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 'use strict'; var lex = require('pug-lexer'); var parse = require('../'); const input = ` div | Hello | World ` test('no uncessessary blocks should be added', () => { expect(parse(lex(input))).toMatchSnapshot(); });