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

Привести Acceptance тесты в ember-flexberry к современному виду #1393

Open
AntonIV8 opened this issue Dec 28, 2022 · 0 comments

Comments

@AntonIV8
Copy link
Contributor

AntonIV8 commented Dec 28, 2022

За основу взять инструкцию
https://github.com/emberjs/ember-qunit/blob/master/docs/migration.md#migrating-from-modulefor-apis

В новом виде Acceptance тесты не используют хелперы module-for-acceptance. А также имеют другой вид.
Еще в них как-то иначе стартует приложение, поэтому например для активации хэлперов из test-support нужно вызвать их принудительную активацию в тесте

const application = this.owner.application;
application.injectTestHelpers();
(ПРАВКА. Это есть в start-app хелпере, так что он возможно должен остаться)

За основу взять ветку feature-ember-update

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

No branches or pull requests

2 participants