We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bedff commit ae086d7Copy full SHA for ae086d7
src/mapper/mapper.spec.ts
@@ -682,7 +682,7 @@ describe('Mapper', () => {
682
describe('model with combined decorators', () => {
683
const toDbValue: SimpleWithRenamedPartitionKeyModel = { id: 'idValue', age: 30 }
684
const mapped = toDb(toDbValue, SimpleWithRenamedPartitionKeyModel)
685
- expect(mapped).toEqual({ custom_id: { S: 'idValue' } })
+ expect(mapped).toEqual({ custom_id: { S: 'idValue' }, age: { N: '30' } })
686
})
687
688
describe('model with non string/number/binary keys', () => {
0 commit comments