mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Update test with new parameters.
This commit is contained in:
parent
a32d76c3d2
commit
a1f900516c
@ -6,6 +6,7 @@ import type {
|
||||
NewClearSessionSavedataRequest,
|
||||
UpdateSessionSavedataRequest,
|
||||
} from "#app/@types/PokerogueSessionSavedataApi";
|
||||
import { GameModes } from "#app/game-mode";
|
||||
import { PokerogueSessionSavedataApi } from "#app/plugins/api/pokerogue-session-savedata-api";
|
||||
import type { SessionSaveData } from "#app/system/game-data";
|
||||
import { getApiBaseUrl } from "#app/test/utils/testUtils";
|
||||
@ -29,6 +30,8 @@ describe("Pokerogue Session Savedata API", () => {
|
||||
const params: NewClearSessionSavedataRequest = {
|
||||
clientSessionId: "test-session-id",
|
||||
slot: 3,
|
||||
result: true,
|
||||
gameMode: GameModes.CLASSIC
|
||||
};
|
||||
|
||||
it("should return true on SUCCESS", async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user