mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 01:46:07 +00:00
fix spelling
This commit is contained in:
parent
6bb34aa606
commit
000b9c1492
@ -9,20 +9,20 @@ describe('proto/TransactionBodyTest', () => {
|
||||
// test data
|
||||
const type = TransactionType.SEND
|
||||
const amount = new Decimal('10')
|
||||
const createAt = 1688992436
|
||||
const createdAt = 1688992436
|
||||
|
||||
// init both objects
|
||||
// graphql input object
|
||||
const transactionInput = new TransactionInput()
|
||||
transactionInput.type = type
|
||||
transactionInput.amount = amount
|
||||
transactionInput.createdAt = createAt
|
||||
transactionInput.createdAt = createdAt
|
||||
|
||||
// protobuf object
|
||||
const transactionBody = new TransactionBody()
|
||||
transactionBody.type = type
|
||||
transactionBody.amount = amount.toString()
|
||||
transactionBody.createdAt = createAt
|
||||
transactionBody.createdAt = createdAt
|
||||
|
||||
// create protobuf object from graphql Input object
|
||||
const message = TransactionBody.fromObject(transactionInput)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user