import Calculator from '../lib/calc' ; import { expect } from 'chai' ; describe ( 'Calculator' , ( ) => { it ( 'should add two numbers together' , ( ) => { const calc = new Calculator ( ) ; expect ( calc . add ( 2 , 3 ) ) . to . equal ( 5 ) ; } ) ; } ) ;