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
This commit is contained in:
parent
e0338189b3
commit
c66423ab2a
|
@ -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?:\/)?\/.*/);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue