All files / src queueMicrotask.ts

33.33% Statements 1/3
50% Branches 1/2
0% Functions 0/3
33.33% Lines 1/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 545x        
export default typeof queueMicrotask === 'function' ? queueMicrotask : <typeof queueMicrotask>(cb =>
      Promise.resolve()
        .then(() => cb())
        .catch(() => {}));