aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2b344ab00..806003635 100644
--- a/README.md
+++ b/README.md
@@ -2797,9 +2797,9 @@ test("peek", () => {
// - returns the error
// - does not mark the promise as handled
const rejected = Promise.reject(
- new Error("Succesfully tested promise rejection"),
+ new Error("Successfully tested promise rejection"),
);
- expect(peek(rejected).message).toBe("Succesfully tested promise rejection");
+ expect(peek(rejected).message).toBe("Successfully tested promise rejection");
});
```