Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ entity.spec.js
File
entity.spec.js
packages/melonjs/tests/entity.spec.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeAll, describe, expect, it } from
"vitest"
;
2
import
{ boot, Entity, loader, Rect, Sprite, video } from
"../src/index.js"
;
3
4
describe(
"Entity"
, () => {
Callers
nothing calls this directly
Calls
9
boot
Function · 0.90
createCanvas
Method · 0.80
addShape
Method · 0.80
removeShapeAt
Method · 0.80
init
Method · 0.65
getBounds
Method · 0.65
clone
Method · 0.65
set
Method · 0.45
setShape
Method · 0.45
Tested by
no test coverage detected