Skip to content

Commit ae086d7

Browse files
fix(mapper): fix test
1 parent 19bedff commit ae086d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapper/mapper.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ describe('Mapper', () => {
682682
describe('model with combined decorators', () => {
683683
const toDbValue: SimpleWithRenamedPartitionKeyModel = { id: 'idValue', age: 30 }
684684
const mapped = toDb(toDbValue, SimpleWithRenamedPartitionKeyModel)
685-
expect(mapped).toEqual({ custom_id: { S: 'idValue' } })
685+
expect(mapped).toEqual({ custom_id: { S: 'idValue' }, age: { N: '30' } })
686686
})
687687

688688
describe('model with non string/number/binary keys', () => {

0 commit comments

Comments
 (0)