trufflesuite/truffle

View on GitHub
packages/promise-tracker/jest.config.js

Summary

Maintainability
A
1 hr
Test Coverage
module.exports = {
  moduleFileExtensions: ["js", "json", "node", "ts"],
  testEnvironment: "node",
  globals: {
    "ts-jest": {
      tsconfig: "<rootDir>/tsconfig.json",
      diagnostics: true
    }
  },
  testMatch: [
    "<rootDir>/@(lib|test)/**/*.@(test|spec).@(ts|js)",
    "<rootDir>/@(lib|test)/**/test/*.@(ts|js)"
  ],
  preset: "ts-jest"
};