8edb2c5520
- as title, solves our user facing authentication issues using the twenty-cli - update twenty-cli version (breaking change from previous PR)
13 lines
279 B
TypeScript
13 lines
279 B
TypeScript
import { ConfigService } from '../../services/config.service';
|
|
import { testConfig } from './constants/testConfig';
|
|
|
|
beforeAll(() => {
|
|
jest
|
|
.spyOn(ConfigService.prototype, 'getConfig')
|
|
.mockResolvedValue(testConfig);
|
|
});
|
|
|
|
afterAll(() => {
|
|
jest.restoreAllMocks();
|
|
});
|