index.ts 251 Bytes
Newer Older
chinguyen's avatar
chinguyen committed
1 2 3 4 5 6 7 8 9 10
import { expect } from 'chai'
import { addTwo } from '../src/test'

describe('Testing demo function', () => {
  it('Should add two to input', () => {
    let input: number = 5
    let result = addTwo(input)
    expect(result).to.eq(input + 2)
  })
})