Skip to content

Commit 8dbbcac

Browse files
committed
fix(plugin-axe): update expectation for setup function
1 parent 2cadf0e commit 8dbbcac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-axe/src/lib/runner/setup.int.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('loadSetupScript integration', () => {
1919
path.join(fixturesDir, 'valid-setup.ts'),
2020
);
2121

22-
expect(typeof setupFn).toBe('function');
22+
expect(setupFn).toBeFunction();
2323
});
2424

2525
it('should execute loaded setup script with runSetup', async () => {

0 commit comments

Comments
 (0)