问题
Could someone please explain me why and when exactly stubbing is done ? How can the controllers, views, etc be instatiated in the tests ? Also can someone explain me what exactly to write in beforeeach and aftereach section ?
来源:https://stackoverflow.com/questions/63396936/how-can-the-stubbing-be-done-in-qunit