Skip to content

Commit

Permalink
make matchers sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed Jan 29, 2025
1 parent bc18da8 commit 057c3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/mock/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const matchers = {
};

/* istanbul ignore next */
export async function addMatchers(expectParam?: jest.Expect | typeof vitestExpect): Promise<void> {
export function addMatchers(expectParam?: jest.Expect | typeof vitestExpect) {
// jasmine.addMatchers must be called in a before function so this will sometimes throw an error
try {
jasmine.addMatchers(matchers as any);
Expand Down

0 comments on commit 057c3a8

Please sign in to comment.