Is it possible to integrate angular.mock.inject()
with QUnit instead of Jasmine?
In the provided code snippet, angular.mock.dump
is defined, but unfortunately angular.mock.inject
remains undefined
.
<!DOCTYPE html>
<html ng-app="mymodule">
<head>
<meta charset="utf-8>
<script src="http://code.angularjs.org/1.2.4/angular.js"></script>
<script src="http://code.angularjs.org/1.2.4/angular-mocks.js"></script>
<script src="http://code.jquery.com/qunit/qunit-1.14.0.js"></script>
<link href="http://code.jquery.com/qunit/qunit-1.14.0.css" rel="stylesheet">
<script>
angular.module( "mymodule", [ "ngMock" ] );
</script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
</body>
</html>