Skip to content

Commit

Permalink
fix(api): protocol params test
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Sep 13, 2024
1 parent 25e259a commit 8880334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/cardano/api/protocol-params.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('isProtocolParamsResponse', () => {

it('returns false for an invalid protocol parameters response', () => {
const invalidResponse = {...paramsMockResponse, epoch: 'invalid'}
expect(isProtocolParamsResponse(invalidResponse)).toBe(true)
expect(isProtocolParamsResponse(invalidResponse)).toBe(false)
})

it('returns false for an incomplete protocol parameters response', () => {
Expand Down

0 comments on commit 8880334

Please sign in to comment.