-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): fix autoComplete type tests
Previously autoComplete tests failed [1] because they were compile-time rather than run-time tests, and they were in a file that expected run-time tests. Moved the compile-time tests to the type file instead. [1]: ``` yarn run v1.22.21 $ cross-env TZ=Europe/Helsinki yarn test --verbose --coverage $ cross-env TZ=Europe/Helsinki jest --verbose --coverage FAIL src/types/tests/auto-complete.test.ts ● Test suite failed to run Your test suite must contain at least one test. at onResult (../node_modules/@jest/core/build/TestScheduler.js:... at ../node_modules/@jest/core/build/TestScheduler.js:316:17 at ../node_modules/emittery/index.js:260:13 at Array.map (<anonymous>) at Emittery.emit (../node_modules/emittery/index.js:258:23) ``` refs YJDH-689
- Loading branch information
1 parent
57fc4ee
commit 76a0bbd
Showing
2 changed files
with
98 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.