all files / candela/VisComponent/ index.js

90% Statements 27/30
91.67% Branches 11/12
75% Functions 6/8
62.5% Lines 5/8
2 statements, 3 branches Ignored     
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                              
export default class VisComponent {
  constructor (el) {
    if (I!el) {
      throw new Error('"el" is a required argument');
    }
 
    this.el = el;
  }
 
  render () {
    throw new Error('"render() is pure abstract"');
  }
 
  get serializationFormats () {
    return [];
  }
}