opensim-org / opensim-viewer

Front end of web based viewer of OpenSim models, data
Apache License 2.0
13 stars 3 forks source link

Find a way to make chartjs compatible with Jest #106

Closed AlbertoCasasOrtiz closed 9 months ago

AlbertoCasasOrtiz commented 1 year ago

In order to pass CI, we had to comment the test in https://github.com/opensim-org/opensim-viewer/blob/master/src/App.test.tsx, since it contains the ChartJS code, and it is created in EcmaScript, which is not compatible with Jest.

We need to find a solution that allows us to test and integrate ChartJS.

AlbertoCasasOrtiz commented 1 year ago

Potential substitute to Jest:

https://github.com/microsoft/playwright

AlbertoCasasOrtiz commented 10 months ago

Solved in #140. It is working locally but failing in CI due to problems with Amplify.