const fn = { add: (num1, num2) => num1 + num2, connectUserDB: () => { return new Promise((res) => { setTimeout(() => { res({ name: "Hailie", age: 30, gender: "female", }); }, 500); }); }, disconnectDB: () => { return new Promise((res) => { setTimeout(() => { res(); }, 500); }); }, }; module.exports = fn; const fn = require("./fn"); let user; beforeEach(async () => { user = await fn.connectUserDB..