Repository: freeCodeCamp/freeCodeCamp
File: e2e/redirect.spec.ts (TypeScript)

Code before:
import { test, expect } from '@playwright/test';

// To run this test locally you will need to run: pnpm run start-ci;
// Also, make sure that you have pm2 installed globally via: pnpm install -g pm2

const pathsToTest = [
  { input: '/challenges', expected: '/learn' },
  {
    input: '/learn/front-end-libraries/bootstrap',
    expected: 'learn/front-end-development-libraries/bootstrap'
  },
  {
    input: '/learn/front-end-libraries/front-end-libraries-projects',
    expected:
      'learn/front-end-development-libraries/front-end-development-libraries-projects'
  },
  {
    input:
      '/learn/front-end-libraries/front-end-libraries-projects/build-a-random-quote-machine',
    expected:
      'learn/front-end-development-libraries/front-end-development-libraries-projects/build-a-random-quote-machine'
  },
  {
    input: '/certification/certifieduser/front-end-libraries',
    expected: 'certification/certifieduser/front-end-development-libraries'
  },
  {
    input:
      '/learn/front-end-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers',
    expected:
      'learn/front-end-development-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers'
  },
  {
    input: '/learn/apis-and-microservices',
    expected: 'learn/back-end-development-and-apis'
  },
  {
    input: '/learn/apis-and-microservices/managing-packages-with-npm',
    expected: 'learn/back-end-development-and-apis/managing-packages-with-npm'
  },

Review comment (suggestion):
```suggestion
    input: '/learn/front-end-libraries',
    expected: 'learn/front-end-development-libraries'
  },
  {
    input: '/learn/front-end-libraries/bootstrap',
    expected: 'learn/front-end-development-libraries/bootstrap'
  },
```

Code after:
import { test, expect } from '@playwright/test';

// To run this test locally you will need to run: pnpm run start-ci;
// Also, make sure that you have pm2 installed globally via: pnpm install -g pm2

const pathsToTest = [
  { input: '/challenges', expected: '/learn' },
  {
    input: '/learn/front-end-libraries',
    expected: 'learn/front-end-development-libraries'
  },
  {
    input: '/learn/front-end-libraries/bootstrap',
    expected: 'learn/front-end-development-libraries/bootstrap'
  },
  {
    input: '/learn/front-end-libraries/front-end-libraries-projects',
    expected:
      'learn/front-end-development-libraries/front-end-development-libraries-projects'
  },
  {
    input:
      '/learn/front-end-libraries/front-end-libraries-projects/build-a-random-quote-machine',
    expected:
      'learn/front-end-development-libraries/front-end-development-libraries-projects/build-a-random-quote-machine'
  },
  {
    input: '/certification/certifieduser/front-end-libraries',
    expected: 'certification/certifieduser/front-end-development-libraries'
  },
  {
    input:
      '/learn/front-end-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers',
    expected:
      'learn/front-end-development-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers'
  },
  {
    input: '/learn/apis-and-microservices',
    expected: 'learn/back-end-development-and-apis'
  },