-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use all entry point for own jest setup
- Loading branch information
1 parent
edb02c1
commit c10259a
Showing
1 changed file
with
1 addition
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |