Skip to content

Commit

Permalink
chore(package): update jsdom to version 12.2.0
Browse files Browse the repository at this point in the history
Closes #50
  • Loading branch information
greenkeeper[bot] authored and Joris-van-der-Wel committed Nov 12, 2018
1 parent aa0bb67 commit 0545d10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,7 +55,7 @@
"express": "^4.15.2",
"glob": "^7.1.2",
"istanbul": "1.1.0-alpha.1",
"jsdom": "^11.0.0",
"jsdom": "^12.2.0",
"karma": "^3.1.1",
"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.1.1",
Expand Down
3 changes: 2 additions & 1 deletion test/unit/DocumentObserver.js
Expand Up @@ -278,7 +278,8 @@ describe('DocumentObservers', () => {
isTrue(execution.check.calledOnce);
});

it('Should defer a check() upon element load events', async () => {
// have to skip ths one because of a bug in jsdom (the load event reaches the `window`, which is not per spec)
it('Should defer a check() upon element load events', {skip: USE_JSDOM}, async () => {
const img = document.createElement('img');
document.body.appendChild(img);

Expand Down

0 comments on commit 0545d10

Please sign in to comment.