diff --git a/tests/frontend/runner.js b/tests/frontend/runner.js index 1679664bf..55f0a45bd 100644 --- a/tests/frontend/runner.js +++ b/tests/frontend/runner.js @@ -179,7 +179,11 @@ $(function(){ //inject spec scripts into the dom var $body = $('body'); $.each(specs, function(i, spec){ - $body.append('') + if(spec[0] != "/"){ // if the spec isn't a plugin spec which means the spec file might be in a different subfolder + $body.append('') + }else{ + $body.append('') + } }); //initalize the test helper @@ -196,4 +200,4 @@ $(function(){ mocha.run(); }); -}); \ No newline at end of file +});