Open funwithtriangles opened 5 years ago
Some tests are currently disabled: https://github.com/nudibranchrecords/hedron/commit/67dd1e15b7865d3f243447686f1c31c22645690f
At some point will be worth doing an audit and working out a sane testing trategy
mockTests now disabled due to window variable breaking everything (in utils/uiEventEmitter)
I think jest will make it easier to set up a better env for global vars etc
Migration doesn't have to happen in one go. Can be done incrementally, allowing new tests to be made with jest.
Security alert due to the tar
package is because tape-watch
hasn't been updated in years. Will be fixed once we've migrated.
Tap seemed like a nice simple solution but there have been lots of problems using it, specifically around decent reporting in the terminal. Objects are not being diffed correctly, causing all sorts of issues. My fear is that going forward there will only be more issues using a library that is not commonly used and maintained.
Jest seems to be the tool of choice these days, so I'll have to do a big migration.
Tests that are commented out and need reworking: