Skip to content

Commit 51cea06

Browse files
HeroProtagonistkamilogorek
authored andcommitted
Update test to not call window.onpopstate
1 parent 69cf82e commit 51cea06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,9 +1205,9 @@ describe('integration', function() {
12051205

12061206
// can't call history.back() because it will change url of parent document
12071207
// (e.g. document running mocha) ... instead just "emulate" a back button
1208-
// press by calling replaceState + onpopstate manually
1208+
// press by calling replaceState
12091209
history.replaceState({}, '', '/bar?a=1#fragment');
1210-
window.onpopstate();
1210+
12111211
done();
12121212
},
12131213
function() {

0 commit comments

Comments
 (0)