// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`lib --unit-test-runner jest should generate test configuration with swc and js 1`] = `
"/* eslint-disable */
const { readFileSync } = require('fs')

// Reading the SWC compilation config and remove the \\"exclude\\"
// for the test files to be compiled by SWC
const { exclude: _, ...swcJestConfig } = JSON.parse(
  readFileSync(\`\${__dirname}/.lib.swcrc\`, 'utf-8')
);
module.exports = {
  displayName: 'my-lib',
  preset: '../../jest.preset.js',
  transform: {
    '^.+\\\\\\\\.[tj]s$': ['@swc/jest', swcJestConfig],
  },
  moduleFileExtensions: ['ts', 'js', 'html'],
  coverageDirectory: '../../coverage/libs/my-lib'
};
"
`;
