This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Remove placeholder image rendering as it's covered in Core function g… #21979
unit-tests.yml
on: push
JS Unit Tests
4m 22s
Matrix: PHPUnitTests
Annotations
12 warnings
assets/js/atomic/blocks/product-elements/button/frontend.tsx#L115
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
|
assets/js/atomic/blocks/product-elements/button/frontend.tsx#L121
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
|
assets/js/atomic/blocks/product-elements/button/index.tsx#L7
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalGetSpacingClassesAndStyles` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
assets/js/atomic/blocks/product-elements/price/supports.ts#L5
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalGetSpacingClassesAndStyles` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
assets/js/base/context/providers/cart-checkout/checkout-processor.ts#L318
[react-hooks/exhaustive-deps] React Hook useCallback has a missing dependency: 'customerId'. Either include it or remove the dependency array.
|
assets/js/blocks/mini-cart/edit.tsx#L11
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalToggleGroupControlOption` from `@wordpress/components` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
assets/js/blocks/mini-cart/edit.tsx#L12
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalToggleGroupControl` from `@wordpress/components` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
assets/js/blocks/product-collection/edit/toolbar-controls/pattern-selection-modal.tsx#L9
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalBlockPatternsList` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
assets/js/blocks/product-query/variations/elements/product-summary.tsx#L8
[import/no-unresolved] Unable to resolve path to module '@woocommerce/atomic-blocks/product-elements/summary/constants'.
|
assets/js/blocks/product-query/variations/elements/product-title.tsx#L8
[import/no-unresolved] Unable to resolve path to module '@woocommerce/atomic-blocks/product-elements/title/constants'.
|
assets/js/blocks/product-template/edit.tsx#L11
[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalUseBlockPreview` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.
|
tests/e2e-jest/config/jest.setup.js#L14
[you-dont-need-lodash-underscore/get] Import { get } from 'lodash' detected. Consider using the native optional chaining to get nested values and nullish coalescing operator for fallback values
|