Skip to content

Commit

Permalink
Add getDraftInfo route to client
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreiser committed Oct 22, 2023
1 parent 4a0dbea commit 11db769
Show file tree
Hide file tree
Showing 8 changed files with 7,215 additions and 0 deletions.
2,918 changes: 2,918 additions & 0 deletions integration-tests/2018-season/__snapshots__/integration.test.js.snap

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions integration-tests/2018-season/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ describe('2018 season client integration tests', () => {
});
});

describe('getDraftInfo', () => {
test('returns a populated array of DraftPlayers', async () => {
const draft = await client.getDraftInfo({ seasonId });
expect(draft).toMatchSnapshot();
});
});

describe('getFreeAgents', () => {
test('returns a populated array of FreeAgentPlayers', async () => {
const players = await client.getFreeAgents({
Expand Down
Loading

0 comments on commit 11db769

Please sign in to comment.