Skip to content

Commit

Permalink
clear test data after each
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar65 committed Feb 6, 2020
1 parent 1b1c8bf commit 14112c0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
Expand All @@ -16,9 +15,11 @@ define([
navigator;

beforeEach(function () {
$(document.body).append(htmlContainer);
widget = new Cookie();
navigator = window.navigator;
$('.modal-popup').remove();
$('#cookie-status').remove();
$(document.body).append(htmlContainer);
});

afterEach(function () {
Expand Down

0 comments on commit 14112c0

Please sign in to comment.