(obj: any, path: string)
| 54 | } |
| 55 | |
| 56 | export function waitForThing(obj: any, path: string): Promise<any> { |
| 57 | const thing = get(obj, path); |
| 58 | if (thing) { |
| 59 | return Promise.resolve(thing); |
| 60 | } |
| 61 | return _innerWaitForThing(obj, path); |
| 62 | } |
| 63 | |
| 64 | export function arrShallowEquals(arr1: any[], arr2: any[]): boolean { |
| 65 | if (!Array.isArray(arr1) || !Array.isArray(arr2)) return false; |
no test coverage detected
searching dependent graphs…