I want to add unit tests to my RequireJS-based app.
My current structure:
- application.js file with requirejs.config and many paths inside it
-
base.html file with
<script src="application.js"> <script>require(["polyfills"], function() {require(["app"])});</script> -
grunt watcher and builder for producton version
-
django on backend.
I want to write unit tests for various modules in my app. Modules in my app are nested between itself.
How can I do that?
I want to use Jasmine or TAPE test frameworks (or something better, if you suggest one).
Aucun commentaire:
Enregistrer un commentaire