diff --git a/packages/compose/src/hooks/use-instance-id/test/index.js b/packages/compose/src/hooks/use-instance-id/test/index.js
index 5dc89e089c78f2..2b28224b3def82 100644
--- a/packages/compose/src/hooks/use-instance-id/test/index.js
+++ b/packages/compose/src/hooks/use-instance-id/test/index.js
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
-import { create, act } from 'react-test-renderer';
+import { render } from '@testing-library/react';
/**
* Internal dependencies
@@ -14,23 +14,16 @@ describe( 'useInstanceId', () => {
};
it( 'should manage ids', async () => {
- let test0;
+ const { container, rerender } = render(