@shko.online/lookupobjects-mock
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @shko.online/lookupobjects-mock

Weekly Downloads

66

Version

0.4.0

License

MIT

Unpacked Size

270 kB

Total Files

104

Last publish

Collaborators

  • betim.beja