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

Yoast / wordpress-seo / e9ac8ff9a236e0ff1ad9a5c711d3617ceff44c62

16 Apr 2024 11:54AM UTC coverage: 52.267% (+0.03%) from 52.242%
e9ac8ff9a236e0ff1ad9a5c711d3617ceff44c62

push

github

web-flow
Merge pull request #21267 from Yoast/21186-refactor-integration-enabledisables

Refactor integration enable disabled for script data.

7551 of 13895 branches covered (54.34%)

Branch coverage included in aggregate %.

57 of 85 new or added lines in 8 files covered. (67.06%)

779 existing lines in 1 file now uncovered.

28618 of 55305 relevant lines covered (51.75%)

40616.81 hits per line

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

0.0
/packages/js/src/analysis/isSEMrushIntegrationActive.js
1
/* External dependencies */
2
import { get } from "lodash";
3

4
/* Internal dependencies */
5
import getL10nObject from "./getL10nObject";
6

7
/**
8
 * Returns whether or not the SEMrush integration is active.
9
 *
10
 * @returns {boolean} Whether or not the SEMrush integration is active.
11
 */
12
export default function isSEMrushIntegrationActive() {
13
        const l10nObject = getL10nObject();
×
14

NEW
15
        return get( l10nObject, "semrushIntegrationActive", false ) === true;
×
16
}
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

© 2026 Coveralls, Inc