The old syntax looked like this: import Ember from 'ember'; ... Ember.Logger.warn(...); which was easy to stub using sinon. However, the new syntax: import ...
確定! 回上一頁