0.4.0 • Published 1 year ago

@shko.online/lookupobjects-mock v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Lookup Objects Mock

Mocking PCF lookupObjects to simplify writing stories for your components.

Screenshots

LookupScreenshot

Usage

First you should install @shko.online/lookupobjects-mock in your project:

npm i -D @shko.online/lookupobjects-mock

then in your story you add the following call:

import mockLookupObjects from '@shko.online/lookupobjects-mock'
// ...

//before executing Init exectute mockLookupObjects()
// ...
    mockLookupObjects(mockGenerator);
    mockGenerator.ExecuteInit();
// ...

License

MIT

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

1.0.0

1 year ago