Skip to content

Releases: salesforce/sfdx-lwc-jest

v1.0.0

19 Jul 14:22
c9d6a1e
Compare
Choose a tag to compare

v1.0.0 (2021-07-19)

Breaking Changes

  • Upgrade Jest to v27 #238

v0.14.0

30 Jun 17:57
58f613e
Compare
Choose a tag to compare

0.14.0 (2021-06-30)

Bug Fixes

  • revert(apex-methods-automock): reverts functionality providing apex automocks #234.
    Reverts the functionality to auto mock apex and apexContinuation methods (#231, #210, and #208). Note: test authors will need to keep implementing their own apex (+apexContinuation) methods mocks.

v0.12.6

30 Jun 18:01
43135f2
Compare
Choose a tag to compare

0.12.6 (2021-06-30)

Bug Fixes

  • revert(apex-methods-automock): reverts functionality providing apex automocks #235.
    Reverts the functionality to auto mock apex and apexContinuation methods (#224). Note: test authors will need to keep implementing their own apex (+apexContinuation) methods mocks.

v0.13.0

21 Jun 17:38
Compare
Choose a tag to compare

0.13.0 (2021-06-18)

Bug Fixes

  • account for difference in behavior between npm v6 and v7 (#223) (#225) (af864c1)

v0.12.5

21 Jun 17:37
Compare
Choose a tag to compare

0.12.5 (2021-06-18)

Bug Fixes

  • account for difference in behavior between npm v6 and v7 (#223) (6a0dd3e)
  • automock apex methods with valid wire adapters (#224) (0cc034d)
  • expose new methods from @salesforce/wire-service-jest-util (#227) (2b21733), closes #204 #207 #206

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.