Skip to content

Commit 67abcea

Browse files
authored
add a test maybe i did this via the github ui lets see if it worked
1 parent e333c8f commit 67abcea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

__tests__/index-test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ test('schemas', (t) => {
3838

3939
t.end();
4040
});
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, config.plugins['jsx-a11y'], `${config.name}'s plugin reference is referentially equal to the top-level export`);
45+
}
46+
t.end();
47+
});

0 commit comments

Comments
 (0)