mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
UBERF-11156: Mock config
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
parent
c6c8705e6f
commit
5c2fac0d9c
@ -15,6 +15,17 @@
|
||||
import { decodeContent, decodeEncodedWords } from '../decode'
|
||||
import { MeasureContext } from '@hcengineering/core'
|
||||
|
||||
jest.mock(
|
||||
'../config',
|
||||
() => ({
|
||||
hookToken: 'test-hook-token',
|
||||
ignoredAddresses: ['ignored@example.com'],
|
||||
storageConfig: 'test-storage-config',
|
||||
workspaceUrl: 'test-workspace'
|
||||
}),
|
||||
{ virtual: true }
|
||||
)
|
||||
|
||||
const mockCtx: MeasureContext = {
|
||||
info: jest.fn(),
|
||||
error: jest.fn(),
|
||||
|
Loading…
Reference in New Issue
Block a user