Skip to content

Commit

Permalink
use all entry point for own jest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Sep 17, 2023
1 parent edb02c1 commit c10259a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions jest-setup.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
/* eslint-disable @typescript-eslint/no-empty-interface */
import * as mixNMatchers from "./src";

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Matchers<R> extends mixNMatchers.MixNMatchers<R> {}

interface Expect extends mixNMatchers.AsymmetricMixNMatchers {}

interface InverseAsymmetricMatchers
extends mixNMatchers.AsymmetricMixNMatchers {}
}
}

expect.extend(mixNMatchers);
import "./src/all";

0 comments on commit c10259a

Please sign in to comment.