Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timowestnosto committed Aug 16, 2024
1 parent 7a4c6e8 commit 7125c0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ global.navigator = window.navigator
global.window.nostoReactTest = true

afterEach(() => {
// clearing Nosto iframe window handle
window.nosto = undefined
// clearing nostojs stub
window.nostojs = undefined
// clearing Shopify specific Nosto namespace
window.Nosto = undefined
document.head.innerHTML = ""
document.body.innerHTML = ""
Expand Down

0 comments on commit 7125c0a

Please sign in to comment.