source: frontend/node_modules/identity-obj-proxy/src/__tests__/require-es6-export-test.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 363 bytes
Line 
1const idObj = require('../test-redirections/idObjES6Export').default;
2
3describe('idObj', () => {
4 it('should return the key as a string', () => {
5 expect(idObj.foo).toBe('foo');
6 });
7 it('should support dot notation', () => {
8 expect(idObj.bar).toBe('bar');
9 });
10 it('should support bracket notation', () => {
11 expect(idObj[1]).toBe('1');
12 });
13});
Note: See TracBrowser for help on using the repository browser.