mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-05-26 01:19:22 +08:00
13 lines
254 B
JavaScript
13 lines
254 B
JavaScript
import { expect } from 'chai';
|
|
import { add, cf } from '@/helpers/utils';
|
|
|
|
describe('utils.js', () => {
|
|
it('1+2 = 3', () => {
|
|
expect(add(1, 2)).to.equal(3);
|
|
});
|
|
|
|
it('1*2 = 2', () => {
|
|
expect(cf(1, 2)).to.equal(2);
|
|
});
|
|
});
|