Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
popeeyy committed May 27, 2024
1 parent 7425a15 commit c4e5710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/expect/src/__tests__/asymmetricMatchers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*
*/

import {runInNewContext} from 'node:vm';
import jestExpect from '../';
import {
any,
Expand All @@ -21,7 +22,6 @@ import {
stringNotContaining,
stringNotMatching,
} from '../asymmetricMatchers';
import { runInNewContext } from 'node:vm';

test('Any.asymmetricMatch()', () => {
class Thing {}
Expand Down
2 changes: 1 addition & 1 deletion packages/expect/src/asymmetricMatchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Any extends AsymmetricMatcher<any> {
}

if (this.sample == Array) {
return Array.isArray(other)
return Array.isArray(other);
}

return other instanceof this.sample;
Expand Down

0 comments on commit c4e5710

Please sign in to comment.