Skip to content

Commit

Permalink
added reporting examples test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Oct 13, 2021
1 parent 27ded49 commit faa4e1f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/test/examples/reporting_examples/capture_test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
20 changes: 20 additions & 0 deletions x-pack/test/examples/reporting_examples/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import { PluginFunctionalProviderContext } from 'test/plugin_functional/services';

// eslint-disable-next-line import/no-default-export
export default function ({ getService, loadTestFile }: PluginFunctionalProviderContext) {
describe('search examples', function () {
this.tags('ciGroup13');

loadTestFile(require.resolve('./search_session_example'));
loadTestFile(require.resolve('./search_example'));
loadTestFile(require.resolve('./search_sessions_cache'));
loadTestFile(require.resolve('./partial_results_example'));
});
}

0 comments on commit faa4e1f

Please sign in to comment.