romach
7/9/2017 - 9:24 PM

Unit tests

Unit tests

import assert from 'assert';
import { factorial } from './implementation';

// Example

assert.equal(factorial(3), 6);