nisen / studySinonjs

学习JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http://sinonjs.org/

Getting started

The following function takes a function as its argument and returns a new function. You can call the resulting function as many times as you want, but the original function will only be called once:

以下函数接受一个函数作为它的参数,并返回一个新的函数。生成的函数可以调用任意多次,但是原始的函数只调用一次

http://mochajs.org/#testing-mocha

http://sinonjs.org/

Getting started

The following function takes a function as its argument and returns a new function. You can call the resulting function as many times as you want, but the original function will only be called once:

以下函数接受一个函数作为它的参数,并返回一个新的函数。生成的函数可以调用任意多次,但是原始的函数只调用一次

需要阅读书籍JavaScript测试驱动开发

About

学习JavaScript


Languages

Language:JavaScript 100.0%