bsclifton / poker.js

Simple poker client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failing test - detects a straight flush with Ace as 1

bsclifton opened this issue · comments

  49 passing (26ms)
  1 failing

  1) hand
       evaluateHand
         with a flush
           detects a straight flush with Ace as 1:

      AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(h.type === handType.StraightFlush)

      + expected - actual

      -false
      +true