Skip to content

Commit 3d7bc89

Browse files
committed
do the other thing again
1 parent f42e8a5 commit 3d7bc89

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/git.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ describe('git', () => {
117117

118118
it('should throw if Intl is unavailable', () => {
119119
const backup = globalThis.Intl.DateTimeFormat;
120-
// @ts-expect-error: We're testing the error case
121-
globalThis.Intl.DateTimeFormat = undefined;
120+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
121+
(globalThis as any).Intl.DateTimeFormat = undefined;
122122

123123
expect(() => {
124124
faker.git.commitEntry();
@@ -157,8 +157,8 @@ describe('git', () => {
157157

158158
it('should throw if Intl is unavailable', () => {
159159
const backup = globalThis.Intl.DateTimeFormat;
160-
// @ts-expect-error: We're testing the error case
161-
globalThis.Intl.DateTimeFormat = undefined;
160+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
161+
(globalThis as any).Intl.DateTimeFormat = undefined;
162162

163163
expect(() => {
164164
faker.git.commitDate();

0 commit comments

Comments
 (0)