Delegate tag color storage to ShlinkWebComponent consuming app

This commit is contained in:
Alejandro Celaya
2023-08-06 13:54:57 +02:00
parent 9f9f3b6402
commit 89e75653d7
12 changed files with 53 additions and 65 deletions

View File

@@ -12,6 +12,7 @@ vi.mock('react-router-dom', async () => ({
describe('<ShlinkWebComponentContainer />', () => {
const ShlinkWebComponentContainer = createContainer(
vi.fn().mockReturnValue(fromPartial({})),
fromPartial({}),
() => <>ShlinkWebComponent</>,
() => <>ServerError</>,
);