Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aws-sdk-client-mock-jest

m-radzikowski2mMIT4.1.0TypeScript support: included

Custom Jest matchers for AWS SDK v3 Client mock

aws, aws-sdk, testing, mock, unit-testing, aws-lambda, jest, jest-matchers

readme

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.1.0 (2024-10-15)

Features

4.1.0-beta.0 (2024-10-11)

Features

Bug Fixes

  • jest: import path in types test (750605b)

4.0.2 (2024-09-23)

4.0.2-beta.0 (2024-06-20)

Bug Fixes

  • jest: allow "toHaveReceivedCommandWith" partial match without required Command fields (79929ae)

4.0.1 (2024-06-01)

4.0.1-beta.0 (2024-06-01)

Bug Fixes

  • jest: match input type accepting @jest/globals asymmetric matchers (644a603)

4.0.0 (2024-03-17)

4.0.0-beta.0 (2024-03-17)

⚠ BREAKING CHANGES

  • Correct expect.assertions() count on CommandWith commands (#209)

Bug Fixes

  • Correct expect.assertions() count on CommandWith commands (#209) (65d53a7)

3.1.0 (2024-03-17)

3.1.0-beta.1 (2024-01-15)

Features

  • support toHaveReceivedAnyCommand matcher (#202) (ba5eedb)

3.1.0-beta.0 (2024-01-01)

Features

  • core: ability to use custom Sinon Sandbox (#200) (31ff180)
  • jest: fail if more than expected matcher arguments are passed (#199) (6f7bb59), closes #191
  • migrate Jest matchers to @jest/globals types (#198) (8f14cbb), closes #180

3.0.1 (2024-01-01)

Fixes

3.0.0 (2023-07-01)

3.0.0-beta.0 (2023-07-01)

⚠ BREAKING CHANGES

  • support AWS SDK v3.363.0

Features

  • support AWS SDK v3.363.0 (0865065)

2.2.0 (2023-06-26)

Features

  • allow throwing errors in callsFake() (67c37e6), closes #8

2.2.0-beta.0 (2023-05-30)

Features

  • access Client configuration in callsFake (#164) (020735a)

2.1.1 (2023-03-11)

2.1.0 (2023-03-06)

Features

  • add Jest matcher for nth specific Command (#146) (89ef933)

2.0.1 (2022-11-27)

Bug Fixes

2.0.0 (2022-08-29)

2.0.0-beta.2 (2022-08-21)

⚠ BREAKING CHANGES

  • move Jest matchers to a separate package (#112)

Features

Bug Fixes

  • move Jest matchers to a separate package (#112) (05a3a51)

2.0.0-beta.1 (2022-06-27)

Bug Fixes

  • add @types/jest as a regular dependency (c51c9d9)

2.0.0-beta.0 (2022-06-26)

⚠ BREAKING CHANGES

  • remove libStorage helper to remove incompatibilities (#105)

Bug Fixes

  • remove libStorage helper to remove incompatibilities (#105) (097d29f)

1.0.0 (2022-06-14)

⚠ BREAKING CHANGES

  • remove @aws-sdk types and client-s3 from peer dependencies (#57)

Features

Bug Fixes

0.6.2 (2022-03-06)

Features

  • chained behaviors for consecutive command calls (#80) (fe131a9)

0.6.1 (2022-03-05)

Bug Fixes

0.6.0 (2022-02-12)

⚠ BREAKING CHANGES

  • recreate mock on reset() (#76)

Bug Fixes

0.5.6 (2021-11-06)

Features

  • getting mock calls with command type and payload filter (#61) (b3f3250)

0.5.5 (2021-09-19)

Bug Fixes

  • not requiring @aws-sdk/client-s3 installed if not using lib-storage mock (#51) (67d55d2)

0.5.4 (2021-09-16)

Features

  • helper to mock @aws-sdk/lib-storage Upload (#47) (10780e8)

0.5.3 (2021-06-24)

Features

  • src: enable types as peer dependencies to get around bumping wi… (#35) (2150567)

0.5.2 (2021-06-14)

0.5.1 (2021-06-13)

Bug Fixes

0.5.0 (2021-05-31)

⚠ BREAKING CHANGES

  • bump Sinon to v11 (#27)

Bug Fixes

  • make compatibility test project dir (2aef307)

0.4.0 (2021-05-06)

⚠ BREAKING CHANGES

  • partial payload matching by default (#16)

Features

  • partial payload matching by default (#16) (3bdc6bb)

0.3.1 (2021-05-01)

0.3.0 (2021-04-11)

Features

0.2.0 (2021-03-06)

⚠ BREAKING CHANGES

  • type-checking of resolved responses (#2)

Features

  • type-checking of resolved responses (#2) (da31c40)

0.1.1 (2021-02-18)

Initial release