From 5ecd097d6607b1362f828f4fc6d4646bdc36282e Mon Sep 17 00:00:00 2001 From: Bartozzz Date: Mon, 21 Oct 2019 19:52:10 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc5df4e..ecdd592 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ You can also import `toJSON` to use the snapshot serializer in one assertion, li ```js import { toJSON } from "jest-three"; -expect(toJSON(object)).matchesSnapshot(); +expect(toJSON(object)).toMatchSnapshot(); // …where `object` is an instance of `THREE.Object3D` ```