Skip to content

Releases: salesforce/sfdx-lwc-jest

v0.12.4

21 Jun 17:38
Compare
Choose a tag to compare

0.12.4 (2021-06-17)

v0.12.3

17 Jun 08:12
c7867b2
Compare
Choose a tag to compare

Bug fixes

  • #210: Ignore Apex stubs from LWC compiler transformation

v0.12.2

17 Jun 08:11
1c34fe1
Compare
Choose a tag to compare

Bug fixes

  • #208: Automatically mock Apex method used as valid wire adapters

v0.12.1

29 Mar 17:44
631cdef
Compare
Choose a tag to compare

Documentation

  • #204: Documentation updates related to the wire reform.

Improvements

  • #206: Update lightning component stubs in preparation for Summer 21 Salesforce release
  • #207: Adds the follow utils to create test wire adapters: createApexTestWireAdapter, createLdsTestWireAdapter, createTestWireAdapter

v0.12.0

29 Mar 17:44
Compare
Choose a tag to compare

Prepares @salesforce/sfdx-lwc-jest for the Summer21 Salesforce release.

Improvements

  • #196: Simplify the test runner logic. For both standard and debug runs, Jest will be invoked by spawning a new process. Uses an allow list approach for pass through options instead of a disallow list approach.
  • #201: Update dependencies to match Spring21 Salesforce release.
  • #205: Update dependencies to match Summer21 Salesforce release.

Bug fixes

  • #195: Retrieve the path to Jest binary using require.resolve instead of hardcoded path.

v0.11.0

29 Mar 17:44
d4be41b
Compare
Choose a tag to compare

Breaking

  • #187: Drops Jest 25. With this PR, @salesforce/sfdc-lwc-jest executes tests using Jest v26.

Improvements

  • #180: Add missing stub for getObjectInfos wire adapter.
  • #183: Update lightning stubs.
  • #188, #190: Adds a new skipApiVersionCheck option to disable the "sourceApiVersion" field check before running tests.

Internal

  • #193: Enforce formatting check in CI flow.