Skip to content

Master fix test ged#1841

Open
ged-odoo wants to merge 2 commits intomasterfrom
master-fix-test-ged
Open

Master fix test ged#1841
ged-odoo wants to merge 2 commits intomasterfrom
master-fix-test-ged

Conversation

@ged-odoo
Copy link
Copy Markdown
Contributor

No description provided.

Tests were never type-checked (tsconfig.json only includes src/). This adds
a tsconfig.tests.json with vitest globals support, fixes 2 type errors in
tests (untyped nextAppError return), and wires up a `test:types` script in
CI.
Rename the build-only tsconfig to tsconfig.build.json and make tsconfig.json
the editor/check config (src + tests + vitest globals). This fixes vitest
globals (expect, test, describe, ...) showing as errors in editors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant