Skip to content

Commit 2d2efb8

Browse files
committed
add test
1 parent e55e036 commit 2d2efb8

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)