Skip to content

Commit

Permalink
Create new module for reusable unit test utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jun 22, 2024
1 parent 44d125b commit 98390e5
Show file tree
Hide file tree
Showing 95 changed files with 184 additions and 2,938 deletions.
3 changes: 1 addition & 2 deletions apps/console/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = {
displayName: "console",
moduleDirectories: [
"node_modules",
"test-configs",
__dirname
],
moduleFileExtensions: [
Expand Down Expand Up @@ -63,7 +62,7 @@ module.exports = {
"src"
],
setupFilesAfterEnv: [
"<rootDir>/test-configs/setup-test.ts"
"<rootDir>/../../modules/unit-test-configs/setup-test.ts"
],
testEnvironment: "jest-environment-jsdom-global",
testMatch: [
Expand Down
37 changes: 0 additions & 37 deletions apps/console/test-configs/__mocks__/@asgardeo/auth-react/index.ts

This file was deleted.

25 changes: 0 additions & 25 deletions apps/console/test-configs/__mocks__/file.ts

This file was deleted.

31 changes: 0 additions & 31 deletions apps/console/test-configs/__mocks__/global.ts

This file was deleted.

62 changes: 0 additions & 62 deletions apps/console/test-configs/__mocks__/module.ts

This file was deleted.

Loading

0 comments on commit 98390e5

Please sign in to comment.