Skip to content

Commit

Permalink
feat: prelim unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnritzdoge committed Mar 21, 2021
1 parent 410e534 commit 26de291
Show file tree
Hide file tree
Showing 9 changed files with 17,025 additions and 1,152 deletions.
16 changes: 16 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Config } from "@jest/types";

// eslint-disable-next-line @typescript-eslint/require-await
export default async (): Promise<Config.InitialOptions> => ({
coverageProvider: "v8",
displayName: "unit test",
preset: "ts-jest",
testEnvironment: "node",
testRunner: "jest-circus/runner",
testMatch: ["<rootDir>/tests/**/*.test.ts"],
globals: {
"ts-jest": {
tsconfig: "<rootDir>/tests/tsconfig.json"
}
}
});
Loading

0 comments on commit 26de291

Please sign in to comment.