shahoob/functionKit

View on GitHub
src/__tests__/sum.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { sum } from '../sum';

test('sum 2 numbers', () => {
  expect(sum([1, 1])).toBe(2);
});