UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

14 lines (12 loc) 356 B
import idObj from '../test-redirections/idObjES6ImportExport'; describe('idObj', () => { it('should return the key as a string', () => { expect(idObj.foo).toBe('foo'); }); it('should support dot notation', () => { expect(idObj.bar).toBe('bar'); }); it('should support bracket notation', () => { expect(idObj[1]).toBe('1'); }); });