Skip to content

Commit

Permalink
fix: make AtLeastOnce shape conform with ArrayEntryExpectation
Browse files Browse the repository at this point in the history
  • Loading branch information
unional committed Apr 11, 2018
1 parent 8b713df commit 8263b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AtLeastOnce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { createSatisfier } from './createSatisfier'
import { SatisfierExec, Satisfier } from './interfaces'

export class AtLeastOnce extends ArrayEntryExpectation {
pass = false
satisfier: Satisfier<any>
constructor(public expectation: any) {
private pass = false
private satisfier: Satisfier<any>
constructor(expectation: any) {
super()
this.satisfier = createSatisfier(expectation)
}
Expand Down

0 comments on commit 8263b0e

Please sign in to comment.