(state)
| 116 | } |
| 117 | |
| 118 | popState(state) { |
| 119 | if (this.state !== state) { |
| 120 | throw new Error(`Cannot popState ${ state } when in ${ this.state }`); |
| 121 | } |
| 122 | this.states.pop(); |
| 123 | } |
| 124 | |
| 125 | isState(state) { |
| 126 | return this.state === state; |
no outgoing calls
no test coverage detected