Skip to content

Commit 1438e1f

Browse files
committed
Update tests
1 parent 0058935 commit 1438e1f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/test-components/CommitBox.spec.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,19 @@ describe('CommitBox', () => {
1414
expect(box).toBeInstanceOf(CommitBox);
1515
});
1616

17-
it('should set default commit message values to empty strings', () => {
17+
it('should set the default commit message summary to an empty string', () => {
1818
const box = new CommitBox({
1919
onCommit: async () => {},
2020
hasFiles: false
2121
});
2222
expect(box.state.summary).toEqual('');
23+
});
24+
25+
it('should set the default commit message description to an empty string', () => {
26+
const box = new CommitBox({
27+
onCommit: async () => {},
28+
hasFiles: false
29+
});
2330
expect(box.state.description).toEqual('');
2431
});
2532
});

0 commit comments

Comments
 (0)