Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arssly committed Oct 5, 2024
1 parent a1fad33 commit 8ff9176
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ts-sdk/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
import { pathsToModuleNameMapper } from "ts-jest";
import tsConfig from "./tsconfig.json" with { type: "json" };
export default {
testEnvironment: "node",
transform: {
"^.+.tsx?$": ["ts-jest", {}],
},
moduleNameMapper: pathsToModuleNameMapper(tsConfig.compilerOptions.paths, {
prefix: "<rootDir>/",
}),
collectCoverage: true,
//collectCoverageFrom: ["./src/**"]
collectCoverageFrom: ["./src/BettingManager.ts"],
Expand Down

0 comments on commit 8ff9176

Please sign in to comment.