From 3d4cda76644b5aef8dd431cbc59c8934bbf77f60 Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:42:10 +0100 Subject: [PATCH 1/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../11.test-db/01.problem.setup/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/01.problem.setup/tests/setup/custom-matchers.ts b/exercises/11.test-db/01.problem.setup/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/01.problem.setup/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/01.problem.setup/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } } From 5b860e7270435e121e5363d9d2a5fe03c837558a Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:43:55 +0100 Subject: [PATCH 2/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../11.test-db/01.solution.setup/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/01.solution.setup/tests/setup/custom-matchers.ts b/exercises/11.test-db/01.solution.setup/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/01.solution.setup/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/01.solution.setup/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } } From cb25cc849d20ba47db41122c47e86aa0e85d0251 Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:45:27 +0100 Subject: [PATCH 3/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../02.problem.isolated-db/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/02.problem.isolated-db/tests/setup/custom-matchers.ts b/exercises/11.test-db/02.problem.isolated-db/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/02.problem.isolated-db/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/02.problem.isolated-db/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } } From f221d68e5fe66700a8815e106b718aebbdfeae4d Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:46:26 +0100 Subject: [PATCH 4/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../02.solution.isolated-db/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/02.solution.isolated-db/tests/setup/custom-matchers.ts b/exercises/11.test-db/02.solution.isolated-db/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/02.solution.isolated-db/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/02.solution.isolated-db/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } } From 91ff7055c4461a1364509b51d0b80d4be2072f37 Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:47:36 +0100 Subject: [PATCH 5/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../03.problem.global-setup/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/03.problem.global-setup/tests/setup/custom-matchers.ts b/exercises/11.test-db/03.problem.global-setup/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/03.problem.global-setup/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/03.problem.global-setup/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } } From 24f30cbb8ba8e54b6d5a07adc28830fdb025be38 Mon Sep 17 00:00:00 2001 From: Chidiebere Ekennia <54110155+Davien21@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:48:28 +0100 Subject: [PATCH 6/6] fix: correct toHaveRedirect failure message in 11.test-db --- .../03.solution.global-setup/tests/setup/custom-matchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/11.test-db/03.solution.global-setup/tests/setup/custom-matchers.ts b/exercises/11.test-db/03.solution.global-setup/tests/setup/custom-matchers.ts index 2fc576bef..bfacd84e4 100644 --- a/exercises/11.test-db/03.solution.global-setup/tests/setup/custom-matchers.ts +++ b/exercises/11.test-db/03.solution.global-setup/tests/setup/custom-matchers.ts @@ -23,7 +23,7 @@ expect.extend({ ? ` to ${this.utils.printExpected(redirectTo)}` : '' } but got ${ - location ? 'no redirect' : this.utils.printReceived(location) + location ? this.utils.printReceived(location) : 'no redirect' }`, } }