Skip to content

Commit

Permalink
Fix unit tests in Jetpack
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Oct 18, 2024
1 parent b8aa90e commit 98ea0e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Fixed unit tests
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ beforeEach( () => {
} );

describe( 'Inspector controls', () => {
beforeEach( () => {
window.JetpackScriptData = {
social: {
urls: {},
},
};
} );
describe( 'Gradient settings panel', () => {
test( 'displays gradient settings control panel', () => {
render( <SubscriptionsInspectorControls { ...defaultProps } /> );
Expand Down

0 comments on commit 98ea0e3

Please sign in to comment.