text: import * as matchers from './matchers';
  
  const jestExpect = global.expect;
  
  if (jestExpect !== undefined) {
    jestExpect.extend(matchers);
  } else {
    /* eslint-disable no-console */
    console.error(
      "Unable to find Jest's global expect." +
        '\nPlease check you have added jest-extended correctly to your jest configuration.' +
        '\nSee https://github.com/jest-community/jest-extended#setup for help.',
    );
    /* eslint-enable no-console */
  }
  