How can I have a beforeAll function in Jasmine ? (Not coffeeScript)

前端 未结 4 1985
半阙折子戏
半阙折子戏 2021-02-05 03:54

I need to know if there is a way to include or use a beforeAll function, or something similar, so I can login to my application and then start testing.

Right now I\'m pu

4条回答
  •  时光取名叫无心
    2021-02-05 04:16

    You can add this package that adds a beforeAll() and afterAll() to Jasmine.

    https://github.com/nonplus/jasmine-beforeAll

提交回复
热议问题