const poker = require('../poker');
const chai = require('chai');

describe('Poker', () => {
    describe('#makeBet()', () => {
        it('Make bet', () => {
            const result = poker.makeBet(
                {
                    "round": 18,
                    "players": [
                        {
                            "name": "Friendly Dog",
                            "status": "active"
                        },
                        {
                            "name": "Sneaky",
                            "status": "out"
                        },
                        {
                            "name": "Texas Nodem",
                            "status": "active",
                            "hole_cards": [
                                {
                                    "rank": "K",
                                    "suit": "hearts"
                                },
                                {
                                    "rank": "Q",
                                    "suit": "hearts"
                                }
                            ]
                        },
                        {
                            "name": "Always all in",
                            "status": "active"
                        },
                        {
                            "name": "GOgliG",
                            "status": "out"
                        }
                    ],
                    "community_cards": [],
                },
                (bet) => {
                    return bet;
                }
            );
            chai.assert.equal(5000, result);
        });
    });
});

@@ -1500,16 +1500,57 @@
 s%22: %5B%5D,%0A
+                    %22current_buy_in%22: 10%0A
         
@@ -1686,11 +1686,9 @@
 ual(
-500
+2
 0, r

Fix test