import 'lint-tests'; // eslint-disable-line

import assert from 'assert';
import Client from '../src/client';

suite('manual-lint-test', () => {
  const config = {
    domain: 'sendmecats.myshopify.com',
    storefrontAccessToken: 'abc123'
  };

  test('it ensures that all Connections include pageInfo', () => {
    const client = Client.buildClient(config);
    const objectTypes = client.graphQLClient.typeBundle.types;

    for (const key in objectTypes) {
      if (objectTypes.hasOwnProperty(key) && key.includes('Connection')) {
        assert.equal(objectTypes[key].fieldBaseTypes.pageInfo, 'PageInfo');
      }
    }
  });
});

@@ -254,53 +254,50 @@
 'it 
-ensures that all Connections include pageInfo
+has pageInfo on all relay connection types
 ', (
@@ -422,26 +422,20 @@
     
-for (const key in 
+Object.keys(
 obje
@@ -446,55 +446,31 @@
 pes)
- %7B
 %0A      
-if (objectTypes.hasOwnProperty
+.filter(
 (key) 
-&&
+=%3E
  key
@@ -493,16 +493,40 @@
 ction'))
+%0A      .forEach((key) =%3E
  %7B%0A     
@@ -607,14 +607,10 @@
    %7D
-%0A    %7D
+);
 %0A  %7D

Clean up the manual lint test syntax