We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0058935 commit 1438e1fCopy full SHA for 1438e1f
tests/test-components/CommitBox.spec.tsx
@@ -14,12 +14,19 @@ describe('CommitBox', () => {
14
expect(box).toBeInstanceOf(CommitBox);
15
});
16
17
- it('should set default commit message values to empty strings', () => {
+ it('should set the default commit message summary to an empty string', () => {
18
const box = new CommitBox({
19
onCommit: async () => {},
20
hasFiles: false
21
22
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
30
expect(box.state.description).toEqual('');
31
32
0 commit comments