UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

9 lines (8 loc) 256 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const sum_1 = require("./sum"); describe('sum', () => { it('should return the sum of the given values', () => { expect((0, sum_1.sum)([1, 2, 3])).toBe(6); }); });