From fdbf2b16840006f3cfc077536e9f0469dae13a7f Mon Sep 17 00:00:00 2001 From: zVictor Date: Wed, 29 Nov 2017 16:56:44 +0100 Subject: [PATCH] add notice for caveats --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 12df1f4..be32451 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,5 @@ test('test', () => { 1. Snapshot files should have an extension **other** than `.snap`, since it conflicts with jest. 2. In order to handle the `--updateSnapshot` (`-u`) parameter provided from CLI, there is an abuse of the `SnapshotState._updateSnapshot` private field. TBD - try to use the `globalConfig` to get this state. -3. TBD \ No newline at end of file +3. `.toMatchSpecificSnapshot` does ignore serializers. It means that you cannot run with e.g. `jest-styled-components` and similar that make use of `expect.addSnapshotSerializer`. +4. TBD