Trying to set up Grunt to automate some testing, testing works fine in the browser but not at the command line

ⅰ亾dé卋堺 提交于 2019-12-03 15:34:34
ooXei1sh

In my test.html file I originally had just copied the example from the QUnit Cookbook

After finding a similar (possibly the same) issue here: https://stackoverflow.com/a/25053808/1814739

I updated:

<script src="//code.jquery.com/qunit/qunit-1.15.0.js"></script>

to:

<script src="http://code.jquery.com/qunit/qunit-1.15.0.js"></script>

Running from command-line seems to work after adding http: to the src attribute.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!