New answers tagged

1 vote

getPicklistValues jest test

If you will try to console.log config in emit(), you will see following: { fieldApiName: { objectApiName: 'SomeObject', fieldApiName: 'SomeApiName' }, recordTypeId: 'xxxxxxxxxxxxxxxxxx' }...
Ivan's user avatar
  • 11
0 votes

My LWC test is not displaying code coverage

I encountered a similar problem and was able to resolve it successfully by implementing the following jest.config.js: const { jestConfig } = require('@salesforce/sfdx-lwc-jest/config'); const ...
Ivan's user avatar
  • 11

Top 50 recent answers are included