Skip to content

Commit 756834b

Browse files
committed
Fix history test
1 parent 71cce41 commit 756834b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ describe('simple', function () {
1212

1313
it('has history', function () {
1414
history.pushState({}, null, '/a/b/c')
15-
expect(location.href).eql('file:///a/b/c')
15+
expect(location.href).match(/\/a\/b\/c$/)
1616
})
1717
})

0 commit comments

Comments
 (0)