Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ getRatio
Function
getRatio
test/integration/next-image-new/base-path/test/index.test.ts:50–52 ·
view source on GitHub ↗
(width, height)
Source
from the content-addressed store, hash-verified
48
}
49
50
function
getRatio(width, height) {
51
return
height / width
52
}
53
54
function
runTests(mode:
'dev'
|
'server'
) {
55
it(
'should load the images'
,
async
() => {
Callers
1
runTests
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected