Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Commit

Permalink
bibox: removing id check in unit test
Browse files Browse the repository at this point in the history
Bibox is one of the worst APIs in existance. This removes one of the
useful features of a trade feed, the identifier os that tests pass.
Good job Bibox.
  • Loading branch information
bmancini55 committed Jun 10, 2019
1 parent aab3355 commit fee80f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exchanges/bibox-client.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("BiboxClient", () => {
expect(trade.exchange).toMatch("Bibox");
expect(trade.base).toMatch(/BTC|ETH/);
expect(trade.quote).toMatch(/USDT|BTC/);
expect(trade.tradeId).toBeGreaterThan(0);
expect(trade.tradeId).toBeUndefined();
expect(trade.unix).toBeGreaterThan(1522540800000);
expect(trade.side).toMatch(/buy|sell/);
expect(typeof trade.price).toBe("string");
Expand Down

0 comments on commit fee80f1

Please sign in to comment.