Skip to content

Commit

Permalink
[ACS-5540]Implemented the changes as per the review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasa-Nataliya committed Sep 22, 2023
1 parent 2089c95 commit 9cf69ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/aca-shared/rules/src/navigation.rules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ describe('navigation.evaluators', () => {
});

describe('isDetails', () => {
it('should return [true] if url ends with `/details`', () => {
it('should return true if url ends with `/details`', () => {
const context: any = {
navigation: {
url: '/path/details'
Expand All @@ -236,7 +236,7 @@ describe('navigation.evaluators', () => {
expect(app.isDetails(context)).toBe(true);
});

it('should return [true] if url starts with `/details`', () => {
it('should return true if url starts with `/details`', () => {
const context: any = {
navigation: {
url: '/details/path'
Expand All @@ -246,7 +246,7 @@ describe('navigation.evaluators', () => {
expect(app.isDetails(context)).toBe(true);
});

it('should return [true] if url includes with `/details`', () => {
it('should return true if url includes with `/details`', () => {
const context: any = {
navigation: {
url: '/details/path'
Expand Down

0 comments on commit 9cf69ba

Please sign in to comment.