mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-01 21:57:11 +00:00
Update src/test/utils/overridesHelper.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
parent
1e7c3b575f
commit
6a697b193e
@ -87,7 +87,7 @@ export class OverridesHelper {
|
|||||||
* @param seed the seed to set
|
* @param seed the seed to set
|
||||||
* @returns spy instance
|
* @returns spy instance
|
||||||
*/
|
*/
|
||||||
seed(seed: string): MockInstance {
|
seed(seed: string) {
|
||||||
const spy = vi.spyOn(this.game.scene, "resetSeed").mockImplementation(() => {
|
const spy = vi.spyOn(this.game.scene, "resetSeed").mockImplementation(() => {
|
||||||
this.game.scene.waveSeed = seed;
|
this.game.scene.waveSeed = seed;
|
||||||
Phaser.Math.RND.sow([seed]);
|
Phaser.Math.RND.sow([seed]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user