message: Removes duplicate error
diff: @@ -13,27 +13,6 @@ describe('mapErrors', () => {
  });
  });
  - describe('a response with multiple attribute errors', () => {
  - const RESPONSE = {
  - data: { registration: null },
  - errors: [{
  - message: "doesn't match Password", locations: [{ line: 2, column: 3 }], path: ['registration'], extensions: { code: 'UNPROCESSABLE_ENTITY', attribute: 'password_confirmation' },
  - }, {
  - message: 'is too short (minimum is 6 characters)', locations: [{ line: 2, column: 3 }], path: ['registration'], extensions: { code: 'UNPROCESSABLE_ENTITY', attribute: 'password' },
  - }],
  - };
  -
  - it('maps the error messages into their respective attributes', () => {
  - expect(mapErrors({ graphQLErrors: RESPONSE.errors }))
  - .toEqual({
  - attributeErrors: {
  - password: 'is too short (minimum is 6 characters)',
  - password_confirmation: "doesn't match Password",
  - },
  - errorMessage: null,
  - });
  - });
  - });
  describe('a response with no attribute errors and a single overall error', () => {
  const RESPONSE = {
  data: { registration: null },
  