You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #295 and #293 I've added Jasmine tests to begin investing in testability of the code using CI. While it is a first step into increasing confidence into Opendatacams code base, the current setup only allows to check for runtime errors, when running the few tests we currently have.
To increase our ability to test and verify the code by excluding "static type errors", I suggest to consider adding TypeScript support to Opendatacam.
In #295 and #293 I've added Jasmine tests to begin investing in testability of the code using CI. While it is a first step into increasing confidence into Opendatacams code base, the current setup only allows to check for runtime errors, when running the few tests we currently have.
To increase our ability to test and verify the code by excluding "static type errors", I suggest to consider adding TypeScript support to Opendatacam.
NextJs, React and Node already offer typescript support so we should be able to add typescript to our development environment as suggested here: https://nextjs.org/learn/excel/typescript/create-tsconfig.
This would allow us to add new code in typescript and over time convert the old codebase to TS if necessary.
The text was updated successfully, but these errors were encountered: