We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59aeb87 commit 67d7923Copy full SHA for 67d7923
test/index.js
@@ -133,6 +133,8 @@ describe('Index generator', () => {
133
result[1].path.should.eql('yo/2/');
134
result[2].path.should.eql('yo/3/');
135
136
+ // Restore config
137
+ hexo.config.pagination_dir = 'page';
138
});
139
140
it('custom pagination_dir - plugin setting', () => {
@@ -145,8 +147,5 @@ describe('Index generator', () => {
145
147
result[1].path.should.eql('yoyo/2/');
146
148
result[2].path.should.eql('yoyo/3/');
149
- // Restore config
- hexo.config.index_generator.per_page = 10;
150
- hexo.config.index_generator.pagination_dir = 'page';
151
152
0 commit comments