RequireJs loading modules - Qunit

前端 未结 3 514
天命终不由人
天命终不由人 2020-12-11 08:28

I am pretty new to RequireJS, and having trouble in writing QUnit to a source code which has logic to load modules dynamically using requireJS.

Be

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-11 08:53

    You can do like this:

        
    
    
        Example Test Runner
        
        
        
        
        
    
    
    

    So requirejs will start to work after setting an option to QUnit.

提交回复
热议问题