Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/KilledByAPixel/LittleJS
/ pathFinder.test.mjs
File
pathFinder.test.mjs
test/pathFinder.test.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ test } from
'node:test'
;
2
import
assert from
'node:assert/strict'
;
3
import
{ PathFinder, vec2 } from
'../dist/littlejs.esm.js'
;
4
Callers
nothing calls this directly
Calls
11
vec2
Function · 0.90
assert
Function · 0.85
buildNodeData
Method · 0.80
getNearestClearNode
Method · 0.80
abs
Method · 0.80
aStarSearch
Method · 0.80
findPath
Method · 0.80
smoothPathCorners
Method · 0.80
isLineClear
Method · 0.80
smoothPathStringPull
Method · 0.80
getNode
Method · 0.45
Tested by
no test coverage detected