Skip to content

Commit

Permalink
chore: dont override $ on window in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Aug 17, 2020
1 parent 0e3f5d2 commit fc0c931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/tests/providers.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
const addProvider = (id, cmp) => {
addClickEvent(id, () => {
container.innerHTML = `<vime-player muted controls>${cmp}</vime-player>`;
window.$ = document.querySelector('vime-player');
window.player = document.querySelector('vime-player');
});
}

Expand Down
2 changes: 1 addition & 1 deletion packages/core/tests/ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
const addPlayer = (id, player) => {
addClickEvent(id, () => {
container.innerHTML = player;
window.$ = document.querySelector('vime-player');
window.player = document.querySelector('vime-player');
});
};

Expand Down

0 comments on commit fc0c931

Please sign in to comment.