logo
  • 教程列表
  • SO官方文档
  • 单元测试框架
    • 摩卡异步(asyncawait)
    • 摩卡同步
    • 摩卡异步(回调)
    • 摩卡异步(Promise)
  1. StackOverflow 文档
  2. Node.js 教程
  3. 单元测试框架
  4. 摩卡同步

摩卡同步

Created: November-22, 2018

describe('Suite Name', function() {
  describe('#method()', function() {
    it('should run without an error', function() {
      expect([ 1, 2, 3 ].length).to.be.equal(3)
    })
  })
})
  • 摩卡异步(回调)
  • 摩卡异步(asyncawait)

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明