Open anrolmar opened 3 years ago
Hi, I want to mock this interface:
export interface FileRequest { readonly folder: string; readonly params: any[]; }
I do something like this:
const mockFileRequest = mock<FileRequest>({ _id: FileRequestHelper.generateObjectID(), folder: 'mock-folder', params: [ { param1: { param11: 'value11' } }, { param2: { param21: 'value21' } } ] });
And when I want to see its content, I realize that params property has the type Proxy.
params
Any solution?
Hi, I want to mock this interface:
I do something like this:
And when I want to see its content, I realize that
params
property has the type Proxy.Any solution?