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

  • 關於本站
  • 免責聲明