diff --git a/src/__tests__/transformers.test.ts b/src/__tests__/transformers.test.ts index 7bb4972..bbae27c 100644 --- a/src/__tests__/transformers.test.ts +++ b/src/__tests__/transformers.test.ts @@ -463,6 +463,7 @@ describe('encrypt_properties', () => { } transform(payload, [transformer]) - expect(payload.properties['citizenship']).not.toEqual('Indian') + expect(simpleEvent.properties.citizenship).not.toEqual('Indian') + }) })