Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5dc373f
chore: update dependencies for account module testing
jerrygirmaa Apr 7, 2025
61b2f2e
chore: update tsconfig for test configuration
jerrygirmaa Apr 7, 2025
383d239
feat(account): updated the relative import inaccount.service
jerrygirmaa Apr 7, 2025
db54331
test(account): add comprehensive test suite for account service
jerrygirmaa Apr 7, 2025
5fc5550
test(admin/account): update test cases for account.controller
jerrygirmaa Apr 11, 2025
1be713e
use relative path in the import
jerrygirmaa Apr 11, 2025
ebc8c88
test(admin/account): add service layer test coverage
jerrygirmaa Apr 11, 2025
42cfabb
test(admin/account): add unit tests for AccountIdPipe
jerrygirmaa Apr 11, 2025
fad650a
use relative path for the import
jerrygirmaa Apr 11, 2025
0d34517
initial commit
Bikilaketema Apr 14, 2025
b67681b
the test worked
Bikilaketema Apr 23, 2025
c936213
remove relative imports for AccountController
jerrygirmaa May 13, 2025
691dd70
remove relative imports
jerrygirmaa May 13, 2025
d4b3de5
remove relative imports
jerrygirmaa May 13, 2025
5ac2917
remove relative imports
jerrygirmaa May 13, 2025
f06e43a
remove relative imports
jerrygirmaa May 13, 2025
d27ffee
chore: add standalone Jest config file
jerrygirmaa May 13, 2025
9524cab
removed th changes come from the 185 branch
Bikilaketema May 29, 2025
c715aa1
removed anoter change
Bikilaketema May 29, 2025
809e20b
removed another change
Bikilaketema May 29, 2025
c5839ab
restored the ts config
Bikilaketema May 29, 2025
7506af7
removed another change
Bikilaketema May 29, 2025
05ce4cb
added jest
Bikilaketema May 29, 2025
9d85624
Merge remote-tracking branch 'origin/207-create-standalone-jest-confi…
jerrygirmaa May 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// jest.config.ts
import { Config } from 'jest';

const config: Config = {
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: '.',
testRegex: '.spec.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},
moduleNameMapper: {
'^src/(.*)$': '<rootDir>/src/$1',
},
testEnvironment: 'node',
};

export default config;
Loading