Skip to content

Commit 603e5f3

Browse files
committed
fixed tests
1 parent 036aad3 commit 603e5f3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/uniqueId.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var number = 0
22
export default function uniqueId(id){
3-
number++;
4-
return number + '-' + id
3+
number++;
4+
return number + '-' + id
55
}

tests/head.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('Head component', () => {
3131

3232
expect(headings.length).to.equal(1);
3333
expect(headings[0].type).to.equal('th');
34-
expect(headings[0].key).to.equal('foo');
34+
expect(headings[0].key).to.equal('3-foo');
3535
});
3636
});
3737

0 commit comments

Comments
 (0)