Skip to content

Commit

Permalink
XNSE ifsc added
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyankaMarbill committed Nov 6, 2024
1 parent 1c484bf commit 4b06d3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
25 changes: 0 additions & 25 deletions tests/node/client_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,3 @@ ifsc.fetchDetails('HDFC0CAGSBK')
console.error(err);
process.exit(1);
})

ifsc
.fetchDetails('XNSE0000001')
.then(function(res) {
assert.equal('EXCHANGE PLAZA,PLOT NO C/1, G BLOCK,BANDRA-KURLA COMPLEX,BANDRA (E), MUMBAI 400051',res['ADDRESS'])
assert.equal('NSE Clearing Limited',res['BANK'])
assert.equal('XNSE',res['BANKCODE'])
assert.equal('MUMBAI',res['BRANCH'])
assert.equal('MUMBAI',res['CENTRE'])
assert.equal('MUMBAI',res['CITY'])
assert.equal('MUMBAI',res['DISTRICT'])
assert.equal('XNSE0000001',res['IFSC'])
assert.equal('MAHARASHTRA',res['STATE'])
assert.equal(null,res['MICR'])
assert.equal(false,res['UPI'])
assert.equal(false,res['NEFT'])
assert.equal(false,res['IMPS'])
assert.equal(true,res['RTGS'])
assert.equal(null,res['SWIFT'])
assert.equal("IN-MH",res['ISO3166'])
})
.catch(err => {
console.error(err);
process.exit(1);
})
1 change: 0 additions & 1 deletion tests/ruby/ifsc_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
expect(described_class.bank_name_for('KSCB0006001')).to eq 'Tumkur District Central Bank'
expect(described_class.bank_name_for('WBSC0KPCB01')).to eq 'Kolkata Police Co-operative Bank'
expect(described_class.bank_name_for('YESB0ADB002')).to eq 'Amravati District Central Co-operative Bank'
expect(described_class.bank_name_for('XNSE0000001')).to eq 'NSE Clearing Limited'
end
end

Expand Down

0 comments on commit 4b06d3c

Please sign in to comment.