import {polyfill} from 'es6-promise';
if (global.Promise === undefined) {
  polyfill();
}

export const data = {
  email: 'foo@bar.baz',
  emptyArray: [],
  error: 'foo',
  errorMsg: 'Set sail for fail!',
  found: 'bar',
  message: 'Wubba lubba dub dub!',
  notFound: 'baz',
  none: ' ',
  obj: {
    foo: 'bar'
  },
  objArray: [
    {foo: 'bar'}
  ]
};

export const loggerMock = {
  error: () => {
  },
  info: () => {
  },
  log: () => {
  },
  warn: () => {
  }
};

import {polyfill} from 'es6-promise';
if (global.Promise === undefined) {
  polyfill();
}

export const data = {
  email: 'foo@bar.baz',
  emptyArray: [],
  error: 'foo',
  errorMsg: 'Set sail for fail!',
  found: 'bar',
  message: 'Wubba lubba dub dub!',
  notFound: 'baz',
  none: ' ',
  obj: {
    foo: 'bar'
  },
  objArray: [
    {foo: 'bar'}
  ]
};

Remove unused loggerMock from test setup