diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6ead4a3d..280408fb 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -29,6 +29,8 @@ jobs:
- name: Installing modules
id: install_modules
run: |
+ yarn cache clean
+ rm -rf node_modules
yarn install
- name: Build test
id: build_test
diff --git a/__tests__/breadcrumbs.test.tsx b/__tests__/breadcrumbs.test.tsx
new file mode 100644
index 00000000..612901eb
--- /dev/null
+++ b/__tests__/breadcrumbs.test.tsx
@@ -0,0 +1,83 @@
+import { act, fireEvent, render } from '@testing-library/react';
+import React from 'react';
+import {
+ ReqoreBreadcrumbs,
+ ReqoreLayoutContent,
+ ReqoreUIProvider,
+} from '../src';
+
+test('Renders full
element with onClick', () => {
const handleItemClick = jest.fn();
render(
element with onClick', () => {
test('Renders custom item at the top', () => {
render(
Hello
+ I am a header !
diff --git a/src/stories/Sidebar/Sidebar.stories.tsx b/src/stories/Sidebar/Sidebar.stories.tsx
index b85d6c17..8b29ead3 100644
--- a/src/stories/Sidebar/Sidebar.stories.tsx
+++ b/src/stories/Sidebar/Sidebar.stories.tsx
@@ -2,12 +2,12 @@ import { Meta, Story } from '@storybook/react/types-6-0';
import React from 'react';
import { IQorusSidebarProps } from '../../components/Sidebar';
import { IReqoreUIProviderProps } from '../../containers/UIProvider';
-import { QorusSidebar, ReqoreUIProvider } from '../../index';
+import { ReqoreSidebar, ReqoreUIProvider } from '../../index';
import { qorusSidebarItems } from '../../mock/menu';
export default {
title: 'ReQore/Sidebar',
- component: QorusSidebar,
+ component: ReqoreSidebar,
args: {
items: qorusSidebarItems,
path: '/',
@@ -21,7 +21,7 @@ const Template: Story