Skip to content

Commit

Permalink
Updated mock
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Dec 12, 2024
1 parent 16a9021 commit bcb81e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/piral-lazy/src/create.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import { render, act } from '@testing-library/react';
import { StateContext } from 'piral-core';
import { createLazyApi } from './create';

vitest.mock('piral-core/app.codegen', () => ({
applyStyle: vitest.fn(),
fillDependencies: vitest.fn(),
}));

function createMockContainer() {
const state = create(() => ({
app: {
Expand Down

0 comments on commit bcb81e9

Please sign in to comment.