sfdx-lwc-jest icon indicating copy to clipboard operation
sfdx-lwc-jest copied to clipboard

Run Jest against LWC components in SFDX workspace environment

Results 39 sfdx-lwc-jest issues
Sort by recently updated
recently updated
newest added

### Description #### Steps to Reproduce The README describes how to mock external components, but in my case for `lightning/primitiveIcon` it doesn't work. It works if you provide the full...

### Description Hello here, I’m working on a LWC component that use the “[getRelatedListRecords](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_wire_adapters_get_related_list_records)” from uiRelatedListApi. It’s working fine on my orgs. This UI API has been introduced with the...

### Description #### Steps to Reproduce Execute `sfdx-lwc-jest --coverage` on an LWC app which uses the `getRecords` wire adaptor #### Expected Results The `getRecords` wire adaptor should be stubbed. ####...

**Summary** I wonder if this issue can be considered as a bug, but since I did not find a solution on the lwc docs I think it is. is it...

waiting on LWC

### Description #### Steps to Reproduce ```js // simplified test case it('navigates to next event ...', () => { ... }); ``` ```js // JS for component under test import...

### Description When using the emit and error functions and version 1.1.0 an error is thrown "getAccountList.error" is not a function and "getAccountList.emit is not a function" This previously worked...

### Version - @salesforce/sfdx-lwc-jest: 1.0.1

### Description After upgrading to v1.1.0 coverage reports are no longer generating correctly. Previously coverage for the full repo would be in the report however now it only shows some...

### Description #### Steps to Reproduce We have too many components to paste here and I don't think I can open it publicly. Can we have a chat so I...

### Description `getModule` does not search the `packageDirectories` in `sfdx-project.json` in the order I would expect. If we have a project that has two components with the same name, the...