英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:


请选择你想看的字典辞典:
单词字典翻译
Sinon查看 Sinon 在百度字典中的解释百度英翻中〔查看〕
Sinon查看 Sinon 在Google字典中的解释Google英翻中〔查看〕
Sinon查看 Sinon 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • Sinon. JS - Standalone test fakes, spies, stubs and mocks for JavaScript . . .
    As before, Sinon JS provides utilities that help test frameworks reduce the boiler-plate Learn more about fake time And all the rest… You’ve seen the most common tasks people tackle with Sinon JS, yet we’ve only scratched the surface
  • API documentation - Sinon. JS
    As of Sinon 10 we stopped maintaining compatibility with legacy browsers Instead, we focus on compatibility with evergreen browsers, Node js LTS versions and recent Safari versions The most up-to-date reference on which runtimes and browsers we support can be found by looking at our compatibility docs
  • Stubs - Sinon. JS
    As of Sinon version 1 8, you can use the onCall method to make a stub respond differently on consecutive calls Note that in Sinon version 1 5 to version 1 7, multiple calls to the yields* and callsArg* family of methods define a sequence of behaviors for consecutive calls
  • Spies - Sinon. JS
    sinon spy(object) Spies all the object’s methods Note that it’s usually better practice to spy individual methods, particularly on objects that you don’t understand or control all the methods for (e g library dependencies)
  • Assertions - Sinon. JS
    To make sure assertions integrate nicely with your test framework, you should customize either sinon assert fail or sinon assert failException and look into sinon assert expose and sinon assert pass The assertions can be used with either spies or stubs
  • Mocks - Sinon. JS
    To see what mocks look like in Sinon JS, here is one of the PubSubJS tests again, this time using a method as callback and using mocks to verify its behavior
  • Releases - Sinon. JS
    Their addressing schemes vary, but an example url such as https: cdn jsdelivr net npm sinon@3 pkg sinon js would download the latest browser bundle of Sinon 3
  • Spy call - Sinon. JS
    calledOn also accepts a matcher spyCall calledOn(sinon match(fn)) (see matchers) spyCall calledWith(arg1, arg2, ); Returns true if call received provided arguments (and possibly others)





中文字典-英文字典  2005-2009