UNPKG

banks-ng

Version:

A collection of nigerian bank information

18 lines (17 loc) 627 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const expect_1 = require("expect"); const getBank_1 = require("./getBank"); describe('Get Bank', () => { it('should get a single bank', () => { const bank = (0, getBank_1.getBank)(1); (0, expect_1.expect)(bank).toEqual({ name: expect_1.expect.any(String), slug: expect_1.expect.any(String), code: expect_1.expect.any(String), ussd: expect_1.expect.any(String), logo: expect_1.expect.any(String), address: expect_1.expect.any(String), }); }); });