all files / bpmn-js/lib/import/ Util.js

66.67% Statements 2/3
50% Branches 2/4
100% Functions 1/1
66.67% Lines 2/3
1 2 3 4 5 6 7  37×       37×  
export function elementToString(e) {
  Iif (!e) {
    return '<null>';
  }
 
  return '<' + e.$type + (e.id ? ' id="' + e.id : '') + '" />';
}