Skip to content

Commit 32f7ef0

Browse files
gurgundayMichaelDeBoey
authored andcommitted
add test
1 parent 2f8d0aa commit 32f7ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/always-return.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ruleTester.run('always-return', rule, {
113113
`hey.then(x => { globalThis['12']["test"] = x })`,
114114
{
115115
code: `hey.then(x => { window['x'] = x })`,
116-
options: [{ ignoreAssignmentVariable: ['window'] }],
116+
options: [{ ignoreAssignmentVariable: ['globalThis', 'window'] }],
117117
},
118118
],
119119

0 commit comments

Comments
 (0)