xrm-mock-generator icon indicating copy to clipboard operation
xrm-mock-generator copied to clipboard

:book:  Generates a mock Xrm.Page object. Commonly used by xrm-mock to test Dynamics 365 client-side customisations.

Results 4 xrm-mock-generator issues
Sort by recently updated
recently updated
newest added

× encountered a declaration exception Chrome 63.0.3239 (Windows 10 0.0.0) TypeError: XrmMockGenerator.initialise is not a function at UserContext.beforeEach (test/lead/formSpec.js:77:26)

I'm needing to get started with something, this seems like a good place, I just want to more easily consume it from TypeScript....

enhancement

Have you looked at https://github.com/delegateas/XrmDefinitelyTyped? Seems like they do a bunch of the codegen stuff that you'd have to do for this roadmap item. Perhaps there's an opportunity to collaborate...

enhancement

Most unit tests are failing with ``` TypeError: Cannot read property `get` of undefined at addAttribute (/Users/Vicky/projects/xrm-mock-generator/src/xrm-mock-generator/attribute.js:19:57) at Attribute.createBool (/Users/Vicky/projects/xrm-mock-generator/src/xrm-mock-generator/attribute.js:27:16) ``` Even though the example says `createBool` it also happens...