drashland / rhum

A test double library
https://drash.land/rhum
MIT License
92 stars 6 forks source link

fix: still allow assert*Contains methods #86

Closed crookse closed 4 years ago

crookse commented 4 years ago

There was a change to Deno's assert library where they changed the following:

assertArrayContains -> assertArrayIncludes
assertStringContains -> assertStringIncludes

To prevent breaking changes between Rhum users and Rhum, I'm making Rhum backwards compatible by mapping the old methods to the new methods.