cleishm / jsmockito

Javascript mocking framework inspired by the awesome mockito
http://jsmockito.org
Other
106 stars 19 forks source link

New to JsMockito get screwunit undefined exception #30

Open jlopes151 opened 10 years ago

jlopes151 commented 10 years ago

So I have tried several js arrangements and still get the exception in the JS debugger.

<script type="text/javascript" src="js/jquery-2.0.3.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.10.3.custom.js"></script>

<script type="text/javascript" src="js/jsmockito.js"></script>
<script type="text/javascript" src="js/env.rhino.js"></script>
<script type="text/javascript" src="js/jshamcrest.js"></script>
<script type="text/javascript" src="js/verifiers.js"></script>
<script type="text/javascript" src="js/function.js"></script>
<script type="text/javascript" src="js/object.js"></script>
<script type="text/javascript" src="js/native_types.js"></script>
<script type="text/javascript" src="js/screw.behaviors.js"></script>
<script type="text/javascript" src="js/screw.builder.js"></script>
<script type="text/javascript" src="js/screw.events.js"></script>
<script type="text/javascript" src="js/screw.matchers.js"></script>
<script type="text/javascript" src="js/intergration.js"></script>

"Unable to get property 'screwunit' of undefined or null reference"