expect(server.serve.calledOnce).to.be.true; expect(server.serve.getCall(0).args[0]).to.deep.equal({ path: mockConfig.build.outputPath, expect(chokidar.watch.calledOnce).to.be.true; expect(chokidar.watch.getCall(0).args[0]).to.equal( mockConfig.build.srcPath