Closed swuendri closed 1 year ago
Looks very promising!
I'll hopefully get some time for a full review with feedback later this week.
One thing: The project is already set up with karma/jasmine (because Angular).
I would definitely prefer to use the same testing frameworks for the core project as well. Both for consistency and for keeping the number of dependencies down.
We could go so far as to set up infor-up/m3-odin as an Angular library project, complete with ng test
, ng build
etc for even more consistency. I've done something similar in other projects and it's been quite nice to work with. The only downside has been some APF shenanigans when Angular stopped producing UMD bundles. But I don't think that would be an issue here
My changes are done @anhallbe. m3-odin
is now an Angular library with jasmine/karma unit tests.
Dear @anhallbe,
with this PR I want to introduce a lot of automatic unit and integrations tests for m3-odin.
There is one breaking change in function
toMIFormat
atruntime.ts
file, because the functionality was wrong (in my opinion).