Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/scriptscat/scriptcat
/ sandbox_test.js
File
sandbox_test.js
example/tests/sandbox_test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// ==UserScript==
2
// @name 半沙盒环境测试
3
// @namespace https://docs.scriptcat.org/
4
// @version 0.2.0
Callers
nothing calls this directly
Calls
15
assertNotSame
Function · 0.85
withCleanup
Function · 0.85
snapshotPageProps
Function · 0.85
restorePageProps
Function · 0.85
waitForEventLoop
Function · 0.85
assertThrowsOrKeepsValue
Function · 0.85
log
Method · 0.80
error
Method · 0.80
forEach
Method · 0.80
section
Function · 0.70
test
Function · 0.70
assertSame
Function · 0.70
Tested by
no test coverage detected