diff --git a/src/mapper/mapper.spec.ts b/src/mapper/mapper.spec.ts index 33b2729ac..53e4557e8 100644 --- a/src/mapper/mapper.spec.ts +++ b/src/mapper/mapper.spec.ts @@ -682,7 +682,7 @@ describe('Mapper', () => { describe('model with combined decorators', () => { const toDbValue: SimpleWithRenamedPartitionKeyModel = { id: 'idValue', age: 30 } const mapped = toDb(toDbValue, SimpleWithRenamedPartitionKeyModel) - expect(mapped).toEqual({ custom_id: { S: 'idValue' } }) + expect(mapped).toEqual({ custom_id: { S: 'idValue' }, age: { N: '30' } }) }) describe('model with non string/number/binary keys', () => {