const config = require('../../jest.config');

module.exports = {
  ...config,
  roots: [__dirname],
  transform: {
    ...config.transform,
    '.*\\.(html)$': '<rootDir>/node_modules/jest-raw-loader',
  },
  moduleFileExtensions: [...config.moduleFileExtensions, 'html'],
};

const config = require('../../jest.config');

module.exports = {
  ...config,
  roots: [__dirname],
  transform: {
    ...config.transform,
    '.*\\.(html)$': '<rootDir>/node_modules/jest-raw-loader',
    '^.+\\.mdx?$': '@storybook/addon-docs/jest-transform-mdx',
  },
  moduleFileExtensions: [...config.moduleFileExtensions, 'html'],
};

Add MDX snapshotting to HTML example (failed)
Add MDX snapshotting to HTML example (failed)
