{
    "preset": "ts-jest",
    "testEnvironment": "node",
    "moduleNameMapper": {
        "^src/(.*)$": "<rootDir>/src/$1",
        "^lib/(.*)$": "<rootDir>/lib/$1",
        "^tests/(.*)$": "<rootDir>/tests/$1",
        "^lodash-es$": "lodash"
    },
    "moduleFileExtensions": ["ts", "js", "gql"],
    "transform": {
        "^.+\\.gql$": "jest-transform-graphql",
        "^.+\\.(ts|js)$": "ts-jest"
    },
    "transformIgnorePatterns": [
        "node_modules/(?!(lodash-es|@theorchard/datasource-ows)/)"
    ],
    "setupFilesAfterEnv": ["<rootDir>/jest.setup.ts"],
    "resetMocks": true
}
