Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jest-community/jest-extended
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.3
Choose a base ref
...
head repository: jest-community/jest-extended
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.4
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 21, 2020

  1. Copy the full SHA
    ddf10fe View commit details
  2. 0.11.4

    mattphillips committed Jan 21, 2020
    Copy the full SHA
    b10c81c View commit details
Showing with 3 additions and 3 deletions.
  1. +1 βˆ’1 package.json
  2. +2 βˆ’2 types/index.d.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-extended",
"version": "0.11.3",
"version": "0.11.4",
"description": "Additional Jest matchers",
"main": "dist/index.js",
"types": "types/index.d.ts",
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -293,12 +293,12 @@ declare namespace jest {
/**
* Use `.toResolve` when checking if a promise resolves.
*/
toResolve(): R;
toResolve(): Promise<R>;

/**
* Use `.toReject` when checking if a promise rejects.
*/
toReject(): R;
toReject(): Promise<R>;

/**
* Use `.toBeString` when checking if a value is a `String`.