Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jul 7, 2021
1 parent a368085 commit 47ee350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('trace', () => {
expect(header).toBe('new-opaque-id');
});

describe('ExecutionContext Serivce is disabled', () => {
describe('ExecutionContext Service is disabled', () => {
let rootExecutionContextDisabled: ReturnType<typeof kbnTestServer.createRoot>;
beforeEach(async () => {
rootExecutionContextDisabled = kbnTestServer.createRootWithCorePlugins({
Expand All @@ -172,7 +172,7 @@ describe('trace', () => {
afterEach(async () => {
await rootExecutionContextDisabled.shutdown();
});
it('passed to Elasticsearch scoped client calls even if ExecutionContext Serivce is disabled', async () => {
it('passed to Elasticsearch scoped client calls even if ExecutionContext Service is disabled', async () => {
const { http } = await rootExecutionContextDisabled.setup();
const { createRouter } = http;

Expand All @@ -194,7 +194,7 @@ describe('trace', () => {
expect(header).toBe(myOpaqueId);
});

it('does not pass context if ExecutionContext Serivce is disabled', async () => {
it('does not pass context if ExecutionContext Service is disabled', async () => {
const { http, executionContext } = await rootExecutionContextDisabled.setup();
const { createRouter } = http;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide
await PageObjects.common.navigateToApp('home');
});

it('manually created context', async () => {
it('passes plugin-specific execution context to Elasticsearch server', async () => {
expect(
await browser.execute(async () => {
const coreStart = window._coreProvider.start.core;
Expand Down

0 comments on commit 47ee350

Please sign in to comment.