Skip to content

Commit

Permalink
fix(mapper): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittwer committed May 14, 2019
1 parent 19bedff commit ae086d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapper/mapper.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit ae086d7

Please sign in to comment.