Skip to content

fix of Type Error on first line#159

Open
mikhailrojo wants to merge 1 commit intoAutomattic:masterfrom
mikhailrojo:patch-1
Open

fix of Type Error on first line#159
mikhailrojo wants to merge 1 commit intoAutomattic:masterfrom
mikhailrojo:patch-1

Conversation

@mikhailrojo
Copy link

Changed expect().to.be(undefined) -> expect().to.equal(undefined)

expect().to.be is an Assertion object, not a Function
without this correction, to.be() -> invokes Type Error expect().to.be is not a Function

Changed expect().to.be(undefined) -> expect().to.equal(undefined)

expect().to.be is an Assertion object, not a Function
without this correction, to.be() -> invokes Type Error expect().to.be is not a Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant