---
title: "Discussion on \"[Bugfix] (SOLVED) Error jest toHaveBeenCalledWith() with Array parameter\" | Hashnode"
description: "Discussion on \"[Bugfix] (SOLVED) Error jest toHaveBeenCalledWith() with Array parameter\". Problem description:\nContext:\nAWS typescript project that combines cloudformation, SAM and swagger for the API definitions:\n\naws-sdk: 2.742.0\njest: 26.4.2 \n\nAfter several change sin the code, the unit tests were adapted in order to satisfy the new re..."
url: "https://hashnode.com/posts/bugfix-solved-error-jest-tohavebeencalledwith-with-array-parameter/614771d517da986cea6464ce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Bugfix\] (SOLVED) Error jest toHaveBeenCalledWith() with Array parameter](https://orcdeveloper.hashnode.dev/bugfix-solved-error-jest-tohavebeencalledwith-with-array-parameter?utm_source=hashnode&utm_medium=feed)

Problem description: Context: AWS typescript project that combines cloudformation, SAM and swagger for the API definitions: aws-sdk: 2.742.0 jest: 26.4.2 After several change sin the code, the unit tests were adapted in order to satisfy the new re...

Sep 19, 2021 · 2 min read · orcdeveloper.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#jest](https://hashnode.com/tag/jest)

## Written by

[Orc Developer](https://hashnode.com/@orcdev)

@orcdev

  
[View profile](https://hashnode.com/@orcdev)

Developing and Architecting Solutions

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
