repo_description: Hacker News clone rewritten with universal JavaScript, using React and GraphQL.
repo_topics: apollo express graphql hacker-news hn javascript js nextjs node react
code: module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
    transform: { '^.+\\.tsx?$': 'ts-jest' },
    testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec).ts?(x)'],
    verbose: true,
    globals: {
      'ts-jest': {
        tsconfig: 'tsconfig-server.json',
      },
    },
  };
  