We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 064a85c commit 7caf654Copy full SHA for 7caf654
packages/cli/src/__tests__/commands/push-region.test.ts
@@ -22,13 +22,7 @@ jest.mock('fs', () => ({
22
// Mock OpenAPI core
23
jest.mock('@redocly/openapi-core', () => ({
24
...jest.requireActual('@redocly/openapi-core'),
25
- getMergedConfig: jest.fn().mockReturnValue({
26
- styleguide: {
27
- skipDecorators: jest.fn(),
28
- extendPaths: [],
29
- pluginPaths: [],
30
- },
31
- }),
+ getMergedConfig: jest.fn().mockImplementation((config) => config),
32
bundle: jest.fn().mockResolvedValue({
33
bundle: { parsed: {} },
34
problems: {
0 commit comments