🙂 Expected behavior
Failure results in some of the tests from builder.test.ts.
🫠 Actual behavior
All of them are passing. But it is due to how the component tested works and the assertions made. The only thing highlighting the problem is the IDE when you open the file.
🧪 Minimal test case
- Have an IDE that has a
TS language server running,
- Open the file on
apps/cli/tests/unit/compose/builder.test.ts,
You should be able to see the red "squiggles". Types do not match.
✔️ Possible solutions
- Fix the tests following the types
- Add strict typing checking to bring
build and ci to fail/halt
- Overhaul the types in the
src/types/compose.ts by removing properties that are not used or do not make sense anymore, e.g., Models.
🙂 Expected behavior
Failure results in some of the tests from
builder.test.ts.🫠 Actual behavior
All of them are passing. But it is due to how the component tested works and the assertions made. The only thing highlighting the problem is the IDE when you open the file.
🧪 Minimal test case
TS language serverrunning,apps/cli/tests/unit/compose/builder.test.ts,You should be able to see the red "squiggles". Types do not match.
✔️ Possible solutions
buildandcito fail/haltsrc/types/compose.tsby removing properties that are not used or do not make sense anymore, e.g.,Models.