The 'describe' keyword in javascript

后端 未结 3 1609
情歌与酒
情歌与酒 2021-01-30 10:08

So I am a newbie in javascript and i had been going through some one else\'s code and I found this..

describe(\'deviceready\', function() {
    it(\'should rep         


        
3条回答
  •  醉梦人生
    2021-01-30 10:55

    Describe is a function in the Jasmine testing framework. It simply describes the suite of test cases enumerated by the "it" functions.

    Also used in the mochajs framework.

提交回复
热议问题