1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-18 02:41:37 +02:00

Adapting to changes to JSDOM

This commit is contained in:
Antonio Laguna
2018-01-01 16:01:49 +01:00
parent 43105bd180
commit ed93fd8df9
3 changed files with 7 additions and 8 deletions

View File

@@ -8,8 +8,8 @@ describe('Hash utility', () => {
document.location.hash = '#slide=1';
const goto = jest.fn();
const ws = document.getElementById('webslides');
// Simulates dataset
ws.dataset = {};
const webslides = {
options: {
changeOnClick: true