FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
frame/test/util.js at develop · floating/frame · GitHub
floating
/
frame
Public
Notifications
You must be signed in to change notification settings
Fork
177
Star
1.2k
Code
Issues
79
Pull requests
19
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
frame
/
test
/
util.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
4 lines (3 loc) · 191 Bytes
Breadcrumbs
frame
/
test
/
util.js
Copy path
File metadata and controls
4 lines (3 loc) · 191 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
import
{
intToHex
}
from
'@ethereumjs/util'
export
const
gweiToHex
=
(
gwei
)
=>
intToHex
(
gwei
*
1e9
)
export
const
flushPromises
=
(
)
=>
new
Promise
(
jest
.
requireActual
(
'timers'
)
.
setImmediate
)
Back
|
FazBrowse Home
|
New Git URL