Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ampproject/amphtml
/ test-assert.js
File
test-assert.js
test/unit/core/test-assert.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{devAssert, userAssert} from
'#core/assert'
;
2
import
{USER_ERROR_SENTINEL} from
'#core/error/message-helpers'
;
3
4
describes.sandboxed(
'assertions'
, {}, () => {
Callers
nothing calls this directly
Calls
5
devAssert
Function · 0.90
userAssert
Function · 0.90
expect
Function · 0.85
it
Function · 0.50
toString
Method · 0.45
Tested by
no test coverage detected