Skip to content

Commit f80fe25

Browse files
author
Katochimoto
committed
сохранение в истории страницы после возврата на предыдущую
1 parent 48fee77 commit f80fe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec/ns.page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ describe('ns.page', function() {
246246
return ns.page.go('/inbox').then(function() {
247247
return ns.page.go('/message/1').then(function() {
248248
return ns.page.go('/inbox').then(function() {
249-
expect(ns.page.history._history).to.be.eql([ '/message/1' ]);
249+
expect(ns.page.history.getPrevious()).to.be.eql('/message/1');
250250
});
251251
});
252252
});

0 commit comments

Comments
 (0)