Skip to content

Commit be9d758

Browse files
committed
fix duplicate ScenePlugin mock
1 parent 1c03194 commit be9d758

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/DisplayListWatcher.test.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,7 @@ vi.mock('phaser', () => {
3838
return {
3939
default: {
4040
Plugins: {
41-
ScenePlugin: class {
42-
constructor(scene, pluginManager) {
43-
this.pluginManager = pluginManager
44-
this.game = pluginManager.game
45-
this.scene = scene
46-
this.systems = scene.sys
47-
}
48-
}
41+
ScenePlugin: ScenePlugin
4942
},
5043
Textures: {
5144
Events: {

0 commit comments

Comments
 (0)