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:
@@ -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
|
||||
|
Reference in New Issue
Block a user