Skip to content

Commit 3dde9e9

Browse files
committed
Remove superfluous scroll test
This scroll test is inferior to anchor scrolling tests in pjax_fallback.js
1 parent 2c62851 commit 3dde9e9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/unit/fn_pjax.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -230,21 +230,6 @@ if ($.support.pjax) {
230230
frame.$("a[href='/dinosaurs.html']").click()
231231
})
232232

233-
234-
asyncTest("scrolls to anchor after load", function() {
235-
var frame = this.frame
236-
237-
frame.$("#main").pjax("a").on("pjax:end", function() {
238-
equal(frame.location.pathname, "/dinosaurs.html")
239-
equal(frame.location.hash, "#main")
240-
start()
241-
})
242-
243-
var link = frame.$("a[href='/dinosaurs.html']")
244-
link.attr('href', "/dinosaurs.html#main")
245-
link.click()
246-
})
247-
248233
asyncTest("triggers pjax:click event from link", function() {
249234
var frame = this.frame
250235

0 commit comments

Comments
 (0)