Skip to content

Commit 01cb3d6

Browse files
Fix test to use valid JavaScript syntax
Co-authored-by: ColtonRandall <65145150+ColtonRandall@users.noreply.github.com>
1 parent 6188026 commit 01cb3d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/__tests__/page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('HomePage Component', () => {
101101

102102
it('calls API with correct parameters', async () => {
103103
const user = userEvent.setup()
104-
const testCode = 'function test() returns true'
104+
const testCode = 'const x = 5;'
105105

106106
;(global.fetch as jest.Mock).mockResolvedValueOnce({
107107
json: async () => ({ explanation: 'Test explanation' })

0 commit comments

Comments
 (0)