Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ nextMicroTask
Function
nextMicroTask
test/unit/polyfills/test-resize-observer.js:114–116 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
112
});
113
114
function
nextMicroTask() {
115
return
Promise.resolve().then(() => Promise.resolve());
116
}
117
118
it(
'should reset stub before running the installer'
, () => {
119
const
{win} = env;
Callers
1
test-resize-observer.js
File · 0.70
Calls
2
resolve
Method · 0.80
then
Method · 0.45
Tested by
no test coverage detected