Builder: updated unit test handling non-existent resume

This commit is contained in:
gianantoniopini
2021-01-22 17:25:04 +01:00
parent dc18e84bc2
commit 9a7bdb188b
5 changed files with 26 additions and 4 deletions

View File

@ -2,7 +2,7 @@
import { v4 as uuidv4 } from 'uuid';
import Constants from '../constants/auth';
import delay from '../utils/index';
import delay from '../../utils/index';
const singleton = Symbol('');
const singletonEnforcer = Symbol('');

View File

@ -3,7 +3,7 @@ import { v4 as uuidv4 } from 'uuid';
import DatabaseConstants from '../constants/database';
import DataSnapshot from './dataSnapshot';
import delay from '../utils/index';
import delay from '../../utils/index';
const parsePath = (path) => {
if (!path) {

View File

@ -1,5 +0,0 @@
const delay = async (milliseconds) => {
await new Promise((resolve) => setTimeout(resolve, milliseconds));
};
export default delay;