13 lines
242 B
TypeScript
13 lines
242 B
TypeScript
|
import { add } from './sample'
|
||
|
|
||
|
import { expect } from 'chai'
|
||
|
import { describe, it } from 'mocha'
|
||
|
|
||
|
describe('My sample file', () => {
|
||
|
|
||
|
it('should be able to add things correctly', () => {
|
||
|
expect(add(3, 4)).to.equal(7)
|
||
|
})
|
||
|
|
||
|
})
|