---
title: "Discussion on \"Mocking the Web Audio API in Jest\" | Hashnode"
description: "Discussion on \"Mocking the Web Audio API in Jest\". This is code for mocking the Web Audio API in Jest that may be of use to you. The methods mocked and the number of times called will vary depending on your needs.\nThis code was used in a side-project that  allows users to view, convert and transcode ..."
url: "https://hashnode.com/posts/mocking-the-web-audio-api-in-jest/606063c338b0e14f092a3676"
---

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

Discussion

# [Mocking the Web Audio API in Jest](https://javascript-haskell-purescript-mars.hashnode.dev/mocking-the-web-audio-api-in-jest?utm_source=hashnode&utm_medium=feed)

This is code for mocking the Web Audio API in Jest that may be of use to you. The methods mocked and the number of times called will vary depending on your needs. This code was used in a side-project that allows users to view, convert and transcode ...

Mar 28, 2021 · 2 min read · javascript-haskell-purescript-mars.hashnode.dev  
Read the article

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

## Written by

[Andy Walpole](https://hashnode.com/@DivisiveCottonwood)

@DivisiveCottonwood · London

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

A developer of many different flavours. Prototyping ideas

adventures in functional programming

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
