Bill types is not enabled in cashcode bill validator

152
May 27, 2019, at 12:30 PM

I tried to connect cashcode bill validator using ccnet protocol implemented in node js. I tried to enable billTypes it's showing any error. When I tried to print the BillTypes it's showing enabled as false.

    [ { amount: 1, code: 'QAT', enabled: false, security: false },
  { amount: 5, code: 'QAT', enabled: false, security: false },
  { amount: 10, code: 'QAT', enabled: false, security: false },
  { amount: 50, code: 'QAT', enabled: false, security: false },
  { amount: 100, code: 'QAT', enabled: false, security: false },
  { amount: 500, code: 'QAT', enabled: false, security: false }]

My bill validator model: MSM-QA1112

Rent Charter Buses Company
READ ALSO
Node.js out of memory error when parsing large xml.gz streams

Node.js out of memory error when parsing large xml.gz streams

I have the following xmlgz parsing logic that iterates through ~2000 xml

153
How to test a “throwing an error” in Mocha having it in asyncronous code (read from db) using only callbacks (no promises, async/await)?

How to test a “throwing an error” in Mocha having it in asyncronous code (read from db) using only callbacks (no promises, async/await)?

I want to write some tests for a method which reads from a JSON file (simulating a db) and returns the correct name, given that exists

106