next.js/examples/with-typescript-graphql/jest.config.js
jest.config.js14 lines423 B
module.exports = {
  roots: ["<rootDir>"],
  moduleFileExtensions: ["ts", "tsx", "js", "json", "jsx"],
  testPathIgnorePatterns: ["<rootDir>[/\\\\](node_modules|.next)[/\\\\]"],
  transformIgnorePatterns: ["[/\\\\]node_modules[/\\\\].+\\.(ts|tsx)$"],
  transform: {
    "^.+\\.(ts|tsx)$": "babel-jest",
    "\\.graphql$": [
      "graphql-let/jestTransformer",
      { subsequentTransformer: "babel-jest" },
    ],
  },
};
Quest for Codev2.0.0
/
SIGN IN