• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / 4972286220c65f7b3dc0502d9bdb6900c46d29d7

10 Jul 2025 12:05PM UTC coverage: 53.511% (+0.1%) from 53.412%
4972286220c65f7b3dc0502d9bdb6900c46d29d7

Pull #22356

github

kyrylo-polozenko-newfold
fix: remove unnecessary components from editor modules
Pull Request #22356: Feature/get redirects

8217 of 14373 branches covered (57.17%)

Branch coverage included in aggregate %.

3 of 42 new or added lines in 10 files covered. (7.14%)

3 existing lines in 3 files now uncovered.

30355 of 57710 relevant lines covered (52.6%)

41373.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/js/src/redirects/initialize.js
1
import domReady from "@wordpress/dom-ready";
2
import { render } from "@wordpress/element";
3
import { Root } from "@yoast/ui-library";
4
import registerStore from "./store";
5
import { select } from "@wordpress/data";
6
import { STORE_NAME } from "./constants";
7
import { AppProvider } from "./appProvider";
8

9
domReady( () => {
×
10
        const root = document.getElementById( "yoast-seo-redirects" );
×
11
        if ( ! root ) {
×
12
                return;
×
13
        }
14

NEW
15
        registerStore();
×
16

NEW
17
        const isRtl = select( STORE_NAME ).selectPreference( "isRtl", false );
×
18

19
        render(
×
20
                <Root context={ { isRtl } }>
21
                        <AppProvider />
22
                </Root>,
23
                root
24
        );
25
} );
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc