---
title: "Discussion on \"Webpack (AMD) + Karma + Mocha\" | Hashnode"
description: "Discussion on \"Webpack (AMD) + Karma + Mocha\". Here's the situation:\n\nYou bundle your app/library with output.libraryTarget = amd (and for the sake of the example let's say that also output.library = \"myLibrary\")\nYou want to test it using Mocha\nYou want to run your tests using Karma\n\nI had a few ..."
url: "https://hashnode.com/posts/webpack-amd-karma-mocha/66bc9f0f53bdef1ab81743e1"
---

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

Discussion

# [Webpack (AMD) + Karma + Mocha](https://tomasalabes.me/webpack-amd-karma-mocha?utm_source=hashnode&utm_medium=feed)

Here's the situation: You bundle your app/library with output.libraryTarget = amd (and for the sake of the example let's say that also output.library = "myLibrary") You want to test it using Mocha You want to run your tests using Karma I had a few ...

May 1, 2016 · 3 min read · tomasalabes.me  
Read the article

-   [#webpack](https://hashnode.com/tag/webpack)
-   [#karma](https://hashnode.com/tag/karma)
-   [#mocha](https://hashnode.com/tag/mocha)

## Written by

[Tomas Alabes](https://hashnode.com/@talabes)

@talabes · Amsterdam, Netherlands

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

Technical Lead, Architect and serial learner

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
