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 -

c# - WPF+EF - The operation cannot be completed because the DbContext has been disposed -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -