From c66423ab2a194d5563926ccd7b231b3dffbad783 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 17 Jun 2021 23:58:15 +0300 Subject: [PATCH] test(docs-infra): unnest unnecessarily nested test suite (#42452) Previously, the `destinations` test suite in `testFirebaseRedirection.spec.ts` was nested under the `with legacy URLs` test suite. However, the two suites are unrelated and there is no reason to have them nested. This commit moves the `destinations` test suite to be beside (instead of inside) the `with legacy URLs` one. PR Close #42452 --- .../deployment/unit/testFirebaseRedirection.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aio/tests/deployment/unit/testFirebaseRedirection.spec.ts b/aio/tests/deployment/unit/testFirebaseRedirection.spec.ts index 9ac74675f2..e301c5c606 100644 --- a/aio/tests/deployment/unit/testFirebaseRedirection.spec.ts +++ b/aio/tests/deployment/unit/testFirebaseRedirection.spec.ts @@ -24,12 +24,12 @@ describe('firebase.json redirect config', () => { } }); }); + }); - describe('destinations', () => { - loadRedirects().forEach(redirect => { - it('should match pattern "^(https?:/)?/.*"', () => { - expect(redirect.destination).toMatch(/^(https?:\/)?\/.*/); - }); + describe('destinations', () => { + loadRedirects().forEach(redirect => { + it('should match pattern "^(https?:/)?/.*"', () => { + expect(redirect.destination).toMatch(/^(https?:\/)?\/.*/); }); }); });