Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Иследовать возможность запуска директив monic только для ts, в теста jest #325

Open
kz2d opened this issue Oct 5, 2022 · 2 comments
Assignees
Labels

Comments

@kz2d
Copy link
Contributor

kz2d commented Oct 5, 2022

Возникла проблема с запуском тестов на ts, потому что у нас используються директивы и в не собраном коде не понятно что с ними делать. Собирать тесты в js, вариант рабочий, но в здесь задача поискать другое решение.

@kz2d kz2d added the research label Oct 5, 2022
@kz2d kz2d self-assigned this Oct 5, 2022
@bonkalol
Copy link
Member

bonkalol commented Oct 5, 2022

Мне кажется лучше как-то анотации подружить с TS файлами, что-то типа сурс мапов мб подойдет

@kz2d
Copy link
Contributor Author

kz2d commented Oct 11, 2022

Как было сказанно на синке и посоветовавшись с Андреем, мы можем написать ts transformer, https://jestjs.io/docs/next/code-transformation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants