I would like to add React Testing Library to a project that uses mocha and chai for unit tests. I am a bit stumped when it comes to writing assertions, most examples make use of jest and jest-dom. I am really keen to use assertions like toBeInTheDocument
or toHaveTextContent
I am wondering if there is a chai plugin that is a suitable replacement for jest-dom? or what alternative solutions you have found for using React Testing Library with mocha and chai?