Closed tadatuta closed 7 years ago
require('bemjson-to-decl').convert({ block: 'b1', mix: { block: 'b2' }, content: { elem: 'e1' } }) // [ { block: 'b1' }, { block: 'b2' }, { block: 'b2', elem: 'e1' } ]
but
require('bemjson-to-decl').convert({ block: 'b1', mix: { block: 'b2' }, content: { elem: 'e1' } }) // [ { block: 'b1' }, { block: 'b2' }, { block: 'b1', elem: 'e1' } ]
expected.
but
expected.