Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Aug 5, 2024
1 parent a7d8785 commit 425c25b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/* eslint-disable @typescript-eslint/no-require-imports */
// Work-around entrypoint for jest@27 and below, https://jestjs.io/blog/2022/04/25/jest-28#packagejson-exports
module.exports = require('./dist/jest/index.js');
2 changes: 2 additions & 0 deletions src/vitest/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ interface ToBeAnnouncedMatchers<T = any> {
}

declare module '@vitest/expect' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface Assertion<T> extends ToBeAnnouncedMatchers<T> {}
}

// For Vitest below 0.31.x
declare global {
namespace Vi {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface Assertion<T> extends ToBeAnnouncedMatchers<T> {}
}
}
Expand Down

0 comments on commit 425c25b

Please sign in to comment.