(settings?: object)
| 10 | })); |
| 11 | |
| 12 | const mockConfigFile = (settings?: object) => { |
| 13 | vi.mocked(readFile).mockResolvedValueOnce( |
| 14 | JSON.stringify(settings !== undefined ? { settings } : {}) as any |
| 15 | ); |
| 16 | }; |
| 17 | |
| 18 | describe('getConfigSettings', () => { |
| 19 | beforeEach(() => { |