jasmine-rjs
Introduction
Simple jasmine plugin that make requirejs unit tests simpler.
This plugin is fully compatible with jasmine 1.3 and jasmine 2.0 / 2.2.
API
Suppose you have a module:
;
Using jasmine-rjs plugin, you can unit test your module with a simple syntax:
;
If the name of your module is a valid javascript variable, then you could just define your function and jasmine-rjs will automatically detect parameter name to load your modules:
;
To make it even simpler with a long test suite, you can load your module in your ```beforeEach``̀ function:
;
Licence
MIT License (MIT)
Contributing
If you find a bug or think about enhancement, feel free to contribute and submit an issue or a pull request.