@quake2ts/test-utils 0.0.796 → 0.0.797
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/game/helpers.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -10280,6 +10280,7 @@ function createMockGameExports(overrides = {}) {
|
|
|
10280
10280
|
spawnWorld: import_vitest3.vi.fn(),
|
|
10281
10281
|
deathmatch: false,
|
|
10282
10282
|
coop: false,
|
|
10283
|
+
skill: 1,
|
|
10283
10284
|
gameImports: {},
|
|
10284
10285
|
gameEngine: {},
|
|
10285
10286
|
entities: {
|
|
@@ -10294,6 +10295,11 @@ function createMockGameExports(overrides = {}) {
|
|
|
10294
10295
|
},
|
|
10295
10296
|
multicast: import_vitest3.vi.fn(),
|
|
10296
10297
|
unicast: import_vitest3.vi.fn(),
|
|
10298
|
+
trace: import_vitest3.vi.fn().mockReturnValue(createTraceMock()),
|
|
10299
|
+
pointcontents: import_vitest3.vi.fn().mockReturnValue(0),
|
|
10300
|
+
sound: import_vitest3.vi.fn(),
|
|
10301
|
+
centerprintf: import_vitest3.vi.fn(),
|
|
10302
|
+
random: (0, import_shared5.createRandomGenerator)({ seed: 12345 }),
|
|
10297
10303
|
...overrides
|
|
10298
10304
|
};
|
|
10299
10305
|
}
|