text: import fs from 'fs';
  import path from 'path';
  import mm from 'micromatch';
  
  const observe = ['*', '!utils', '!testUtils', '!index.js', '!index.test.js'];
  
  const context = {};
  
  beforeEach(() => {
    context.modules = mm(fs.readdirSync(__dirname), observe);
  });
  
  function requireModule(module) {
    return require(path.join(__dirname, module));
  }
  
  test('common-tags exports all the right modules directly', () => {
    const modules = context.modules;
    expect.assertions(modules.length);
    modules.forEach(module => {
      expect(requireModule(module)).toBeDefined();
    });
  });
  
  test('common-tags exports all the right modules as props', () => {
    const modules = context.modules;
    expect.assertions(modules.length);
    modules.forEach(module => {
      expect(require('./index')).toHaveProperty(module, requireModule(module));
    });
  });
  