Skip to content

Commit c4e5710

Browse files
committed
Fix linting issues
1 parent 7425a15 commit c4e5710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/expect/src/__tests__/asymmetricMatchers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
*/
88

9+
import {runInNewContext} from 'node:vm';
910
import jestExpect from '../';
1011
import {
1112
any,
@@ -21,7 +22,6 @@ import {
2122
stringNotContaining,
2223
stringNotMatching,
2324
} from '../asymmetricMatchers';
24-
import { runInNewContext } from 'node:vm';
2525

2626
test('Any.asymmetricMatch()', () => {
2727
class Thing {}

packages/expect/src/asymmetricMatchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Any extends AsymmetricMatcher<any> {
137137
}
138138

139139
if (this.sample == Array) {
140-
return Array.isArray(other)
140+
return Array.isArray(other);
141141
}
142142

143143
return other instanceof this.sample;

0 commit comments

Comments
 (0)