import expect from 'expect.js';

import constantMirror from '../src';

describe('constantMirror', () => {
  it('exports a function', () => {
    expect(constantMirror).to.be.a('function');
  });

  it('creates a mirrored hash from a list of strings', () => {
    expect(constantMirror('HELLO', 'WORLD')).to.eql({
      HELLO: 'HELLO',
      WORLD: 'WORLD'
    });
  });
});

import expect from 'expect.js';

import constantMirror from '..';

describe('constantMirror', () => {
  it('exports a function', () => {
    expect(constantMirror).to.be.a('function');
  });

  it('creates a mirrored hash from a list of strings', () => {
    expect(constantMirror('HELLO', 'WORLD')).to.eql({
      HELLO: 'HELLO',
      WORLD: 'WORLD'
    });
  });
});

Test compiled JS, not ES6 source
Test compiled JS, not ES6 source
