Skip to content

Commit

Permalink
chore: 🤖 add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Mar 12, 2020
1 parent a370495 commit 9d4bbae
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/

test.todo('displays all dashboard in a list');
test.todo('does not display dashboard on which drilldown is being created');
test.todo('updates config object correctly');
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;
* you may not use this file except in compliance with the Elastic License.
*/

describe('.isConfigValid()', () => {
test.todo('returns false for incorrect config');
test.todo('returns true for incorrect config');
});

describe('.execute()', () => {
test.todo('navigates to correct dashboard');
test.todo(
'when user chooses to keep current filters, current fileters are set on destination dashboard'
);
test.todo(
'when user chooses to keep current time range, current time range is set on destination dashboard'
);
});
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class DashboardToDashboardDrilldown
implements Drilldown<Config, FactoryContext, ActionContext> {
constructor(protected readonly params: Params) {}

// public readonly places = ['dashboard'];
// TODO: public readonly places = ['dashboard'];

public readonly id = DASHBOARD_TO_DASHBOARD_DRILLDOWN;

Expand Down

0 comments on commit 9d4bbae

Please sign in to comment.