UNPKG

@gameye/sdk

Version:
11 lines 488 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const test = require("blue-tape"); const mocks = require("../mocks"); const location_1 = require("./location"); test("selectLocationListForGame", async (t) => { const locationList = location_1.selectLocationListForGame(mocks.gameStateMock, "test"); t.equal(locationList.length, 1); t.equal(locationList.filter(i => i.locationKey === "local").length, 1); }); //# sourceMappingURL=location.spec.js.map