mockingbird
mockingbird copied to clipboard
🐦 Decorator Powered TypeScript Library for Creating Mocks
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.  #### Changes included in this PR - Changes to...
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...
If i use `null` or `undefined` as the `@Mock(() => result)`, it throws: ``` TypeError: Cannot convert undefined or null to object at Function.getOwnPropertyNames () at getClassMembers (../../../node_modules/@plumier/reflect/lib/parser.js:87:28) at parseMethods...
Avoid circular mocks, closes #65
Sorry for opening another issue. But i need to generate a different values depending on another fields, example: ```ts export class Example { @Mock() isActive: boolean; @Mock() // Should only...
After the recent faker.js incident, the community is actively maintaining faker throught [`faker-js/faker`](https://github.com/faker-js/faker).
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...