What I cannot create, I do not understand.
requirejs(['QUnit'], function(qunit) { qunit.test('test name', function(assert) { // 一些测试, assert }); // 关键的两条语句, 不然QUnit不执行 qunit.load(); qunit.start(); })
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3