Skip to content

allow x-pack plugins to import core service mocks in tests#36771

Merged
mshustov merged 1 commit intoelastic:masterfrom
mshustov:x-pack-import-core-mock
May 21, 2019
Merged

allow x-pack plugins to import core service mocks in tests#36771
mshustov merged 1 commit intoelastic:masterfrom
mshustov:x-pack-import-core-mock

Conversation

@mshustov
Copy link
Contributor

@mshustov mshustov commented May 21, 2019

Summary

using relative imports from x-pack to kibana core doesn't work until #36769 merged
although we cannot use absolute imports in tests, because jest cannot match them internally.

logs https://kibana-ci.elastic.co/job/elastic+kibana+pull-request/14105/JOB=x-pack-intake,node=immutable/console

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

using relative imports from x-pack to kibana core doesn't work atm.
although we cannot use absolute imports, because jest cannot match
them internally.
@mshustov mshustov added chore Team:Operations Kibana-Operations Team labels May 21, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov removed the review label May 21, 2019
@mshustov mshustov merged commit 37d907f into elastic:master May 21, 2019
@mshustov mshustov deleted the x-pack-import-core-mock branch May 21, 2019 16:57
mshustov added a commit to mshustov/kibana that referenced this pull request May 21, 2019
using relative imports from x-pack to kibana core doesn't work atm.
although we cannot use absolute imports, because jest cannot match
them internally.
mshustov added a commit that referenced this pull request May 21, 2019
using relative imports from x-pack to kibana core doesn't work atm.
although we cannot use absolute imports, because jest cannot match
them internally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Team:Operations Kibana-Operations Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants