MCPcopy
hub / github.com/phaserjs/phaser / createMockEmitter

Function createMockEmitter

tests/gameobjects/particles/Particle.test.js:7–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5// ---------------------------------------------------------------------------
6
7function createMockEmitter ()
8{
9 return {
10 scene: {},
11 anims: [],
12 emit: function (event, a1, a2, a3, a4, a5)
13 {
14 return true;
15 }
16 };
17}
18
19function createMockOp (returnValue)
20{

Callers 1

Particle.test.jsFile · 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…