javascript - In Jasmine, can the describe section correspond to a method, or does it typically correspond to a constructor function? -


in jasmine, can describe section correspond method, or typically correspond constructor function?

there's no set rule or requirement describe. can have many nested describe functions want can vague describe("myangularcontroller") or specific decribe("mymethod") it functions testing different inputs method example. depends on how want organize test.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -