-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(j-s): Revoke Notifications #15190
Conversation
…ned_until_verdict
…ned_until_verdict
…ned_until_verdict
…ned_until_verdict
…ned_until_verdict
…-s/postponed_until_verdict
…ned_until_verdict
…ned_until_verdict
This PR currently has a merge conflict. Please resolve this and then re-add the |
…lation-notifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (2)
apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts (2)
Line range hint
161-166
: DuplicatebeforeEach
setup detected.The
beforeEach
hook inside the describe block for case transitions appears to be duplicated. This can lead to confusion and unnecessary repetition in test setup, which might affect test performance and clarity. Consider consolidating or uniquely configuring the necessary setup steps within a singlebeforeEach
to maintain clean and efficient test code.
Line range hint
347-352
: DuplicatebeforeEach
setup detected.Similar to a previous finding, another
beforeEach
hook is duplicated within a differentdescribe
block. This repetition could be streamlined to improve the readability and execution efficiency of your test suite. Ensure that eachbeforeEach
is necessary and distinct to avoid overlapping setups that could introduce side effects or redundant operations.
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- apps/judicial-system/backend/src/app/modules/case/case.service.ts (4 hunks)
- apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts (1 hunks)
Files not reviewed due to errors (1)
- apps/judicial-system/backend/src/app/modules/case/case.service.ts (no review received)
Additional context used
Path-based instructions (2)
apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts (1)
Pattern
apps/**/*
: "Confirm that the code adheres to the following:
- NextJS best practices, including file structure, API routes, and static generation methods.
- Efficient state management and server-side rendering techniques.
- Optimal use of TypeScript for component and utility type safety."
apps/judicial-system/backend/src/app/modules/case/case.service.ts (1)
Pattern
apps/**/*
: "Confirm that the code adheres to the following:
- NextJS best practices, including file structure, API routes, and static generation methods.
- Efficient state management and server-side rendering techniques.
- Optimal use of TypeScript for component and utility type safety."
Biome
apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts
[error] 161-166: Disallow duplicate setup and teardown hooks. (lint/suspicious/noDuplicateTestHooks)
Disallow beforeEach duplicacy inside the describe function.
[error] 347-352: Disallow duplicate setup and teardown hooks. (lint/suspicious/noDuplicateTestHooks)
Disallow beforeEach duplicacy inside the describe function.
[error] 614-621: Disallow duplicate setup and teardown hooks. (lint/suspicious/noDuplicateTestHooks)
Disallow beforeEach duplicacy inside the describe function.
apps/judicial-system/backend/src/app/modules/case/case.service.ts
[error] 356-356: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
[error] 357-357: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
[error] 358-358: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
[error] 359-359: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
[error] 361-361: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
[error] 372-372: Decorators are not valid here. (parse)
Decorators are only valid on class declarations, class expressions, and class methods.
You can enable parameter decorators by setting theunsafeParameterDecoratorsEnabled
option totrue
in your configuration file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/judicial-system/backend/src/app/modules/case/test/caseController/transition.spec.ts
Revoke Notifications
Afturköllun ákæru - Tölvupóstur
What
Specify what you're trying to achieve
Why
Specify why you need to achieve this
Screenshots / Gifs
Attach Screenshots / Gifs to help reviewers understand the scope of the pull request
Checklist:
Summary by CodeRabbit
New Features
Bug Fixes
Refactor