Skip to content

Commit 97d52f3

Browse files
compwronclaude
andcommitted
fix: Add browser environment to read_more test for MouseEvent
Fixes StandardJS linting errors: - 'MouseEvent' is not defined at lines 63 and 73 Added browser to eslint-env since the test uses jsdom which simulates a browser environment where MouseEvent is available as a global. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 46e1dc2 commit 97d52f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/__tests__/read_more.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-env jest */
1+
/* eslint-env jest, browser */
22
/**
33
* @jest-environment jsdom
44
*/

0 commit comments

Comments
 (0)