recognizes gold chip requirement

This commit is contained in:
2022-08-12 13:37:17 -05:00
parent 74587d0a0e
commit 2fba7b30fa
4 changed files with 34 additions and 37 deletions

View File

@@ -7,9 +7,6 @@ import { AppState, PlayerData, setStateType } from "../../../../util/types"
import { buyCard, tooExpensive } from "../buyCardActions"
import { configure } from "enzyme";
import Player from "../../Player"
import Gameboard from "../../../Gameboard/Gameboard";
import initializeBoard from "../../../../util/initializeBoard";
import React from "react";
configure({ adapter: new Adapter() });
@@ -19,7 +16,13 @@ const testPlayer: PlayerData = {
starter: true,
turnActive: true,
points: 0,
cards: [],
cards: {
ruby: [],
sapphire: [],
emerald: [],
diamond: [],
onyx:[]
},
nobles: [],
inventory: {
ruby: 1,