hamishgibbs / rt_vis

Interactive RT visualisation
3 stars 0 forks source link

Adding tests #63

Open hamishgibbs opened 3 years ago

hamishgibbs commented 3 years ago

Adding a basic Jest Typescript testing framework.

More work to do to combine this with the correct module exports that play well with the current Grunt Typescript compiler.

Additional complexity because the final version of the build must be a simple minified js library (can't use imports from what I can tell) - because it needs to the be called by RtD3.

But a good start to build out in future. No breaking changes here at the moment.

hamishgibbs commented 3 years ago

Breaking changes here now. There is some work to do to correctly use Typescript and Jest together. Also general improvements to VERY loose use of static types.