We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: