Skip to content

Commit

Permalink
adds delete datasource call to beforeEach
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Apr 18, 2024
1 parent 6fa10ac commit fd143de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ let localDataSourceUrl;

describe('Multi-datasources enabled', () => {
beforeEach(() => {
deleteAllDataSources();
localStorage.setItem('opendistro::security::tenant::saved', '""');
localStorage.setItem('home:newThemeModal:show', 'false');
createDataSource().then((resp) => {
Expand Down

0 comments on commit fd143de

Please sign in to comment.