leo/tests/compiler/import_dependency/readme.md

9 lines
365 B
Markdown
Raw Normal View History

2021-08-04 23:34:11 +03:00
Tests in this folder test external dependencies that were imported. To mock that we
need to have structure similar to typical Leo package: source files must be in the
directory next to `imports/`; but instead of `src/` we have `tests/` here.
Option `cwd` param in these tests must point to the `tests/`, so having it as `.`
should be enough.
Have fun testing!