diff --git a/packages/react-storage/src/components/StorageBrowser/__tests__/createStorageBrowser.spec.tsx b/packages/react-storage/src/components/StorageBrowser/__tests__/createStorageBrowser.spec.tsx index 435305d965..d612ec2204 100644 --- a/packages/react-storage/src/components/StorageBrowser/__tests__/createStorageBrowser.spec.tsx +++ b/packages/react-storage/src/components/StorageBrowser/__tests__/createStorageBrowser.spec.tsx @@ -85,7 +85,8 @@ describe('createStorageBrowser', () => { expect(setCustomUserAgentSpy).toHaveBeenCalledWith({ componentName: 'StorageBrowser', packageName: 'react-storage', - version: '3.5.0', + // prefer non-static string - `version` field is updated on each package bump + version: expect.any(String), }); }); });