How to wait or share data between files in mocha

后端 未结 0 1015
無奈伤痛
無奈伤痛 2020-12-04 22:24

So lets say I have a file named "main.js". It contains this:

const User = require(\'../models/user\');

describe(\'Testing\', () => {
    before(         


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