Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prettier/prettier
/ throwError
Function
throwError
tests/unit/ast-path.js:5–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
4
const
error =
new
Error(
"A dummy error"
);
5
const
throwError = () => {
6
throw error;
7
};
8
9
describe(
"AstPath"
, () => {
10
const
ast = {
Callers
1
ast-path.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…