Skip to content

Merge pull request #2679 from woocommerce/dev/tests-gtin

Codecov / codecov/patch succeeded Nov 21, 2024 in 1s

45.7% of diff hit (target 62.7%)

View this Pull Request on Codecov

45.7% of diff hit (target 62.7%)

Annotations

Check warning on line 24 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L24

Added line #L24 was not covered by tests

Check warning on line 51 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L50-L51

Added lines #L50 - L51 were not covered by tests

Check warning on line 54 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L54

Added line #L54 was not covered by tests

Check warning on line 58 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 61 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L61

Added line #L61 was not covered by tests

Check warning on line 65 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 70 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L68-L70

Added lines #L68 - L70 were not covered by tests

Check warning on line 74 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 82 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L82

Added line #L82 was not covered by tests

Check warning on line 86 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L86

Added line #L86 was not covered by tests

Check warning on line 96 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L96

Added line #L96 was not covered by tests

Check warning on line 99 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 137 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 159 in js/src/components/gtin-migration-banner/gtin-migration-banner.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/components/gtin-migration-banner/gtin-migration-banner.js#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 1275 in js/src/data/actions.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/data/actions.js#L1274-L1275

Added lines #L1274 - L1275 were not covered by tests

Check warning on line 516 in js/src/data/reducer.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/data/reducer.js#L514-L516

Added lines #L514 - L516 were not covered by tests

Check warning on line 544 in js/src/data/resolvers.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/data/resolvers.js#L542-L544

Added lines #L542 - L544 were not covered by tests

Check warning on line 548 in js/src/data/resolvers.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/data/resolvers.js#L548

Added line #L548 was not covered by tests

Check warning on line 550 in js/src/data/resolvers.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/data/resolvers.js#L550

Added line #L550 was not covered by tests

Check warning on line 27 in js/src/hooks/useGTINMigrationStatus.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

js/src/hooks/useGTINMigrationStatus.js#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 81 in src/API/Site/Controllers/GTINMigrationController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/API/Site/Controllers/GTINMigrationController.php#L74-L81

Added lines #L74 - L81 were not covered by tests

Check warning on line 93 in src/API/Site/Controllers/GTINMigrationController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/API/Site/Controllers/GTINMigrationController.php#L84-L93

Added lines #L84 - L93 were not covered by tests

Check warning on line 110 in src/API/Site/Controllers/GTINMigrationController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/API/Site/Controllers/GTINMigrationController.php#L105-L110

Added lines #L105 - L110 were not covered by tests

Check warning on line 120 in src/API/Site/Controllers/GTINMigrationController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/API/Site/Controllers/GTINMigrationController.php#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 651 in src/ConnectionTest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/ConnectionTest.php#L651

Added line #L651 was not covered by tests