mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
- This test, though I understand why it was added, is not necessary in my opinion. It's more difficult to get this test to pass since we don't call session.run, we call session.writeTransaction which has a callback that calls transaction.run... - I think we don't need to test that our third party library does what it was added to do... they have their own tests, which can be found here @roschaefer, which I think are sufficient https://github.com/validatorjs/validator.js/blob/master/test/sanitizers.js - We can always add another type of test, if you feel necessary, maybe an e2e?