bbc/psammead

View on GitHub
packages/utilities/psammead-rich-text-transforms/test/candy-xml.test.js

Summary

Maintainability
C
1 day
Test Coverage

File candy-xml.test.js has 562 lines of code (exceeds 250 allowed). Consider refactoring.
Open

const { candyXmlToRichText } = require('../src/index');

const createBody = inner =>
  `<body xmlns="http://www.bbc.co.uk/asset" xml:space="preserve" xml:base="http://www.bbc.co.uk/article/abc123">${inner}</body>`;

    There are no issues that match your filters.

    Category
    Status