Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Sep 14, 2015
1 parent 036aad3 commit 603e5f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/uniqueId.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var number = 0
export default function uniqueId(id){
number++;
return number + '-' + id
number++;
return number + '-' + id
}
2 changes: 1 addition & 1 deletion tests/head.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Head component', () => {

expect(headings.length).to.equal(1);
expect(headings[0].type).to.equal('th');
expect(headings[0].key).to.equal('foo');
expect(headings[0].key).to.equal('3-foo');
});
});

Expand Down

0 comments on commit 603e5f3

Please sign in to comment.