Skip to content

Commit 936f444

Browse files
committed
Clarify description of test for this functionality
1 parent b86a176 commit 936f444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/__tests__/helpers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('AST Unit Tests', () => {
7575
expect(getHooksNames(elementType)).toEqual(['testCount', 'setTestCount']);
7676
});
7777

78-
it('Should output the right number of properties when taking in multiple function definitions', () => {
78+
it('Should output the right number of properties when given multiple hooks', () => {
7979
const elementType = `function SingleUseFakeComponent() {
8080
const [testCount, setTestCount] = useState(0);
8181
const [biscuitCount, setBiscuitCount] = useState(0);

0 commit comments

Comments
 (0)