3 ms·
Are you forced to use expect().to... or you can plugin any assert library ? (I get the benefits of expect but I still prefer assert style)
by efrafa 10y ago
Are you forced to use expect().to... or you can plugin any assert library ?
(I get the benefits of expect but I still prefer assert style)
- ville 10y agoYou can use any assertion library and it will just work. At one point I was using Jest with Chai when migrating a codebase that happened to use Chai for assertions.