Skip to content

Commit b4c7088

Browse files
committed
added comment in parser.test.ts for other code reviewers
1 parent 25ff1ee commit b4c7088

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/suite/parser.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ describe('Parser Test Suite', () => {
106106
});
107107

108108
test('App should have three children, Component1 is a client component using hooks (variable declaration, export default declaration, and function declaration), Component2 is a client component using directives, and Component3 is not a client component', () => {
109+
// these first two doesnt work but the other tests in this test suite does
110+
// gives me false instead of true
109111
expect(tree.children[0].children[0]).toHaveProperty('name', 'Component1');
110112
expect(tree.children[0].children[0]).toHaveProperty('isClientComponent', true);
111113

0 commit comments

Comments
 (0)