Skip to content

Commit f1330a2

Browse files
Merge pull request #2 from vinicamposdev/test/add-branch-cov
test: add branch test
2 parents 4833a89 + 7532583 commit f1330a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/index.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@ describe('index', () => {
99

1010
expect(result).toMatch(message);
1111
});
12+
13+
it('should return a string with empty space when dont provide a message', () => {
14+
const result = myPackage();
15+
16+
expect(result).toMatch(' from my package');
17+
});
1218
});
1319
});

0 commit comments

Comments
 (0)