Skip to content

Commit 2097cb8

Browse files
committed
test(fixtures): add fixtures for add endpoint tests
1 parent d5e5e9c commit 2097cb8

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

tests/fixtures/fixtures.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,5 +1395,81 @@
13951395
"arguments": {}
13961396
}
13971397
]
1398+
},
1399+
"add": {
1400+
"state-BLIND_SELECT": [
1401+
{
1402+
"endpoint": "menu",
1403+
"arguments": {}
1404+
},
1405+
{
1406+
"endpoint": "start",
1407+
"arguments": {
1408+
"deck": "RED",
1409+
"stake": "WHITE",
1410+
"seed": "TEST123"
1411+
}
1412+
}
1413+
],
1414+
"state-SELECTING_HAND--jokers.count-0--consumables.count-0--hand.count-8": [
1415+
{
1416+
"endpoint": "menu",
1417+
"arguments": {}
1418+
},
1419+
{
1420+
"endpoint": "start",
1421+
"arguments": {
1422+
"deck": "RED",
1423+
"stake": "WHITE",
1424+
"seed": "TEST123"
1425+
}
1426+
},
1427+
{
1428+
"endpoint": "select",
1429+
"arguments": {}
1430+
}
1431+
],
1432+
"state-SHOP--jokers.count-0--consumables.count-0--vouchers.count-0": [
1433+
{
1434+
"endpoint": "menu",
1435+
"arguments": {}
1436+
},
1437+
{
1438+
"endpoint": "start",
1439+
"arguments": {
1440+
"deck": "RED",
1441+
"stake": "WHITE",
1442+
"seed": "TEST123"
1443+
}
1444+
},
1445+
{
1446+
"endpoint": "select",
1447+
"arguments": {}
1448+
},
1449+
{
1450+
"endpoint": "set",
1451+
"arguments": {
1452+
"chips": 1000
1453+
}
1454+
},
1455+
{
1456+
"endpoint": "play",
1457+
"arguments": {
1458+
"cards": [
1459+
0
1460+
]
1461+
}
1462+
},
1463+
{
1464+
"endpoint": "cash_out",
1465+
"arguments": {}
1466+
},
1467+
{
1468+
"endpoint": "buy",
1469+
"arguments": {
1470+
"voucher": 0
1471+
}
1472+
}
1473+
]
13981474
}
13991475
}

0 commit comments

Comments
 (0)