How to wait until callback on appendFile work Jest

后端 未结 0 1093
梦谈多话
梦谈多话 2021-01-14 17:41

I have a method

private processWriteNextChunk(filePath: string): void {
    const nextChunk = this.data.get(filePath)?.shift();
    if (!nextChunk) return;
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题