mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
refactor: Move sleep function to seprate file
This commit is contained in:
@@ -10,6 +10,8 @@ afterEach((done) => {
|
||||
mongoose.connection.db.dropDatabase(done);
|
||||
});
|
||||
|
||||
export { sleep } from './sleep';
|
||||
|
||||
export function generateUser (options = {}) {
|
||||
return new User(options).toObject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user