Skip to content

Commit 8390cc9

Browse files
test: fix
1 parent 5aaf3e3 commit 8390cc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/api/capitalizeFirstLetter.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ describe("capitalizeFirstLetter", () => {
77
expect(cli.capitalizeFirstLetter("webpack")).toBe("Webpack");
88
});
99

10-
it("should return an empty string on passing a non-string value", () => {
10+
it("should return an empty string on passing a empty string value", () => {
1111
const cli = new CLI();
1212

13-
expect(cli.capitalizeFirstLetter(true)).toBe("");
13+
expect(cli.capitalizeFirstLetter("")).toBe("");
1414
});
1515
});

0 commit comments

Comments
 (0)