Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Feb 4, 2025
1 parent a68fa4d commit c1a121a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GrowiDeploymentType, GrowiServiceType } from '@growi/core/dist/consts';
import { mock } from 'vitest-mock-extended';

import { GrowiDeploymentType, GrowiServiceType } from '@growi/core/dist/consts';

import { Config } from '../../models/config';
import type { S2sMessagingService } from '../s2s-messaging/base';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import type { S2sMessagingService } from '../s2s-messaging/base';

import { configManager } from './config-manager';

vi.mock('./legacy/config-manager', () => ({
configManager: {
loadConfigs: vi.fn(),
},
}));

const mocks = vi.hoisted(() => ({
ConfigMock: {
updateOne: vi.fn(),
Expand Down

0 comments on commit c1a121a

Please sign in to comment.