Skip to content

Commit

Permalink
converted to jest
Browse files Browse the repository at this point in the history
  • Loading branch information
designfrontier committed Aug 5, 2020
1 parent c2ca0da commit 4b5aeec
Show file tree
Hide file tree
Showing 3 changed files with 4,733 additions and 152 deletions.
5 changes: 2 additions & 3 deletions fib.test.js
@@ -1,9 +1,8 @@
const getFib = require('./fib');
const assert = require('chai').assert;

describe('fib tests', () => {
it('should return 0 for 0', () => {
assert.strictEqual(getFib(0), 0);
test('should return 0 for 0', () => {
expect(getFib(0)).toBe(0);
});

// let's write some tests here!
Expand Down

0 comments on commit 4b5aeec

Please sign in to comment.