Open pablo-mayrgundter opened 2 years ago
This is a tracking bug for TODOs.
src/utils/asserts.js should import tests for each function that test the relevant conditions, then just add throw Error if test is false. This is to help with cases where the caller might want to log (as warn or error) instead of fail.
e.g. in src/utils/asserts.js
This is a tracking bug for TODOs.
src/utils/asserts.js should import tests for each function that test the relevant conditions, then just add throw Error if test is false. This is to help with cases where the caller might want to log (as warn or error) instead of fail.