Skip to content

Commit

Permalink
Relocate 'ErrorBoundary' component unit test folders (#59031)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: draganescu <[email protected]>
  • Loading branch information
3 people authored Feb 15, 2024
1 parent a988b90 commit e3f3c3d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
/**
* External dependencies
*/
import { render } from '@testing-library/react';

/**
* WordPress dependencies
*/
import * as wpHooks from '@wordpress/hooks';

/**
* Internal dependencies
*/
import ErrorBoundary from '../error-boundary';
/**
* External dependencies
*/
import { render } from '@testing-library/react';
import ErrorBoundary from '../index';

const theError = new Error( 'Kaboom' );

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
/**
* External dependencies
*/
import { render } from '@testing-library/react';

/**
* WordPress dependencies
*/
import * as wpHooks from '@wordpress/hooks';

/**
* Internal dependencies
*/
import ErrorBoundary from '../error-boundary';
/**
* External dependencies
*/
import { render } from '@testing-library/react';
import ErrorBoundary from '../index';

const theError = new Error( 'Kaboom' );

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
/**
* External dependencies
*/
import { render } from '@testing-library/react';

/**
* WordPress dependencies
*/
import * as wpHooks from '@wordpress/hooks';

/**
* Internal dependencies
*/
import ErrorBoundary from '../error-boundary';
/**
* External dependencies
*/
import { render } from '@testing-library/react';
import ErrorBoundary from '../index';

const theError = new Error( 'Kaboom' );

Expand Down

1 comment on commit e3f3c3d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in e3f3c3d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7912999491
📝 Reported issues:

Please sign in to comment.