Showing 2,206 of 2,206 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

    <Grid
      dir={dir}
      columns={{
        group0: 6,
        group1: 6,
Severity: Major
Found in src/app/legacy/psammead/psammead-grid/src/index.stories.jsx and 1 other location - About 6 hrs to fix
src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1501..1551

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 173.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

File mr.test.js has 451 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import moment from 'moment';
import './mr';

moment.locale('mr');

Severity: Minor
Found in src/app/legacy/psammead/psammead-locales/moment/mr.test.js - About 6 hrs to fix

    File index.test.jsx has 449 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React from 'react';
    import { renderRoutes, matchRoutes } from 'react-router-config';
    import { MemoryRouter } from 'react-router-dom';
    
    // test helpers
    Severity: Minor
    Found in src/app/routes/index.test.jsx - About 6 hrs to fix

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

          describe('Unknown error within the data fetch, react router or its dependencies', () => {
            const pageType = 'cpsAsset';
      
            beforeEach(() => {
              mockRouteProps({
      Severity: Major
      Found in src/server/index.test.jsx and 1 other location - About 6 hrs to fix
      src/server/index.test.jsx on lines 370..395

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 169.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

          describe('Unknown error within the data fetch, react router or its dependencies', () => {
            const pageType = 'articles';
            beforeEach(() => {
              mockRouteProps({
                id,
      Severity: Major
      Found in src/server/index.test.jsx and 1 other location - About 6 hrs to fix
      src/server/index.test.jsx on lines 487..513

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 169.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      const Fixture = ({ useLargeImages = false, timestamp = Date.now() }) => (
        <Promo>
          <Promo.Image
            useLargeImages={useLargeImages}
            src="https://ichef.test.bbci.co.uk/ace/ws/{width}/cpsdevpb/3502/test/0c533a40-770b-11ed-bd83-8f15ba358e41.jpg"
      Severity: Major
      Found in src/app/legacy/components/Promo/index.test.jsx and 1 other location - About 6 hrs to fix
      src/app/legacy/components/Promo/index.test.jsx on lines 25..41

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 168.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      const FixtureWithWebp = ({
        useLargeImages = false,
        timestamp = Date.now(),
      }) => (
        <Promo>
      Severity: Major
      Found in src/app/legacy/components/Promo/index.test.jsx and 1 other location - About 6 hrs to fix
      src/app/legacy/components/Promo/index.test.jsx on lines 10..23

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 168.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      File index.test.jsx has 441 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /* eslint-disable jsx-a11y/click-events-have-key-events */
      /* eslint-disable jsx-a11y/no-static-element-interactions */
      import React from 'react';
      import userEvent from '@testing-library/user-event';
      import { waitFor } from '@testing-library/dom';
      Severity: Minor
      Found in src/app/hooks/useClickTrackerHandler/index.test.jsx - About 6 hrs to fix

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

            it('should call the view tracking hook with the correct params with multiple editorial onward journeys', () => {
              const viewTrackerSpy = jest.spyOn(viewTracking, 'default');
              render(
                <ScrollablePromo blocks={edOjA.model.blocks} blockGroupIndex={1} />,
              );
        Severity: Major
        Found in src/app/legacy/components/ScrollablePromo/index.test.jsx and 2 other locations - About 6 hrs to fix
        src/app/legacy/components/ScrollablePromo/index.test.jsx on lines 116..134
        src/app/legacy/containers/BulletedList/index.test.jsx on lines 78..102

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 4 locations. Consider refactoring.
        Open

            it('should render a Facebook Post block and unmount correctly', () => {
              const { container, unmount } = render(
                <SocialEmbedContainer
                  blocks={[facebookPostBlockEmbed]}
                  source="https://www.facebook.com/RickAstley/posts/545713756920775"
        Severity: Major
        Found in src/app/legacy/containers/SocialEmbed/index.test.jsx and 3 other locations - About 6 hrs to fix
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 26..50
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 52..77
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 134..159

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 4 locations. Consider refactoring.
        Open

            it('should render an Instagram block and unmount correctly', () => {
              const { container, unmount } = render(
                <SocialEmbedContainer
                  blocks={[instagramBlock]}
                  source="https://www.instagram.com/p/CgNAEjOK46_"
        Severity: Major
        Found in src/app/legacy/containers/SocialEmbed/index.test.jsx and 3 other locations - About 6 hrs to fix
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 26..50
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 107..132
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 134..159

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

            it('should call the view tracking hook with the correct params with multiple lists with at least one link', () => {
              const viewTrackerSpy = jest.spyOn(viewTracking, 'default');
              render(
                <BulletsWithContext
                  blocks={listItemD.model.blocks}
        Severity: Major
        Found in src/app/legacy/containers/BulletedList/index.test.jsx and 2 other locations - About 6 hrs to fix
        src/app/legacy/components/ScrollablePromo/index.test.jsx on lines 84..102
        src/app/legacy/components/ScrollablePromo/index.test.jsx on lines 116..134

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 4 locations. Consider refactoring.
        Open

            it('should render a Facebook Video block and unmount correctly', () => {
              const { container, unmount } = render(
                <SocialEmbedContainer
                  blocks={[facebookVideoBlockEmbed]}
                  source="https://www.facebook.com/RickAstley/videos/1378590239249667"
        Severity: Major
        Found in src/app/legacy/containers/SocialEmbed/index.test.jsx and 3 other locations - About 6 hrs to fix
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 26..50
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 52..77
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 107..132

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

            it('should call the click tracking hook with multiple editorial onward journeys', () => {
              const clickTrackerSpy = jest.spyOn(clickTracking, 'default');
              render(
                <ScrollablePromo blocks={edOjA.model.blocks} blockGroupIndex={1} />,
              );
        Severity: Major
        Found in src/app/legacy/components/ScrollablePromo/index.test.jsx and 2 other locations - About 6 hrs to fix
        src/app/legacy/components/ScrollablePromo/index.test.jsx on lines 84..102
        src/app/legacy/containers/BulletedList/index.test.jsx on lines 78..102

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 4 locations. Consider refactoring.
        Open

            it('should render a Twitter block and unmount correctly', () => {
              const { container, unmount } = render(
                <SocialEmbedContainer
                  blocks={[twitterBlock]}
                  source="https://twitter.com/BBCNews/status/1384138850478346243?s=20"
        Severity: Major
        Found in src/app/legacy/containers/SocialEmbed/index.test.jsx and 3 other locations - About 6 hrs to fix
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 52..77
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 107..132
        src/app/legacy/containers/SocialEmbed/index.test.jsx on lines 134..159

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          11: {
            input: range(0, 11),
            expectedFirstSection: {
              firstRow: [0],
              regularRows: [
        src/app/legacy/containers/IndexPageSection/utilities/storyRowsSplitter.test.jsx on lines 253..287

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          10: {
            input: range(0, 10),
            expectedFirstSection: {
              firstRow: [0],
              regularRows: [
        src/app/legacy/containers/IndexPageSection/utilities/storyRowsSplitter.test.jsx on lines 288..322

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

            describe('With no headline provided', () => {
              beforeEach(() => {
                delete cpsItem.headlines;
                delete assetTypeItem.name;
              });
        Severity: Major
        Found in src/app/legacy/containers/StoryPromo/index.test.jsx and 1 other location - About 6 hrs to fix
        src/app/legacy/containers/StoryPromo/index.test.jsx on lines 328..345

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

            describe('With no timestamp provided', () => {
              beforeEach(() => {
                delete cpsItem.timestamp;
                delete assetTypeItem.timestamp;
              });
        Severity: Major
        Found in src/app/legacy/containers/StoryPromo/index.test.jsx and 1 other location - About 6 hrs to fix
        src/app/legacy/containers/StoryPromo/index.test.jsx on lines 294..308

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        File fixtureData.js has 438 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        import { MEDIA_ASSET_PAGE, STORY_PAGE } from '#app/routes/utils/pageTypes';
        import relItems from '../IndexAlsos/relatedItems';
        
        export const completeItem = {
          headlines: {
        Severity: Minor
        Found in src/app/legacy/containers/StoryPromo/helpers/fixtureData.js - About 6 hrs to fix
          Severity
          Category
          Status
          Source
          Language