Skip to content

Instantly share code, notes, and snippets.

@mattcollier
Created December 27, 2016 02:32

Revisions

  1. mattcollier created this gist Dec 27, 2016.
    1 change: 1 addition & 0 deletions code.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    function f(x) {return x + 2;}
    3 changes: 3 additions & 0 deletions tests.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    it('should do the right thing', () => {
    assert.equal(f(4), 6);
    });