diff --git a/CHANGELOG.md b/CHANGELOG.md index 245196b27fb8..8db5b756640b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - `[jest-config]` Add `readInitialConfig` utility function ([#13356](https://github.com/facebook/jest/pull/13356)) - `[jest-core]` Enable testResultsProcessor to be async ([#13343](https://github.com/facebook/jest/pull/13343)) - `[expect, @jest/expect-utils]` Allow `isA` utility to take a type argument ([#13355](https://github.com/facebook/jest/pull/13355)) +- `[expect]` Expose `AsyncExpectationResult` and `SyncExpectationResult` types ([#13411](https://github.com/facebook/jest/pull/13411)) ### Fixes diff --git a/packages/expect/src/index.ts b/packages/expect/src/index.ts index 8ed6390738fb..af07fff87287 100644 --- a/packages/expect/src/index.ts +++ b/packages/expect/src/index.ts @@ -53,6 +53,7 @@ import type { export {AsymmetricMatcher} from './asymmetricMatchers'; export type { + AsyncExpectationResult, AsymmetricMatchers, BaseExpect, Expect, @@ -63,6 +64,7 @@ export type { MatcherState, MatcherUtils, Matchers, + SyncExpectationResult, } from './types'; export class JestAssertionError extends Error {