Skip to content

Commit

Permalink
add a test maybe i did this via the github ui lets see if it worked
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher authored Nov 17, 2024
1 parent e333c8f commit 67abcea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions __tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ test('schemas', (t) => {

t.end();
});

test('plugin referentially equal to prevent flat config issues', (t) => {
for (const config in Object.keys(plugin.flatConfigs) {
t.equal(plugin, config.plugins['jsx-a11y'], `${config.name}'s plugin reference is referentially equal to the top-level export`);
}
t.end();
});

0 comments on commit 67abcea

Please sign in to comment.