We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e19fa7 commit f7f0b48Copy full SHA for f7f0b48
__tests__/index-test.js
@@ -40,8 +40,10 @@ test('schemas', (t) => {
40
});
41
42
test('plugin referentially equal to prevent flat config issues', (t) => {
43
- for (const config in Object.keys(plugin.flatConfigs)) {
44
- t.equal(plugin, plugin.flatConfigs[config].plugins['jsx-a11y'], `${config.name}'s plugin reference is referentially equal to the top-level export`);
+ const keys = Object.keys(plugin.flatConfigs);
+ for (let i = 0; i < keys.length; i += 1) {
45
+ const config = plugin.flatConfigs[keys[i]];
46
+ t.equal(plugin, config.plugins['jsx-a11y'], `${config.name}'s plugin reference is referentially equal to the top-level export`);
47
}
48
t.end();
49
0 commit comments