Skip to content

Commit

Permalink
test: update to hexo v7
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Nov 2, 2023
1 parent 8e24fc8 commit ca089b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('Feed generator', () => {
const Post = hexo.model('Post');
const generator = require('../lib/generator').bind(hexo);

require('../node_modules/hexo/lib/plugins/helper')(hexo);
require('../node_modules/hexo/dist/plugins/helper')(hexo);

let posts = {};
let locals = {};
Expand Down Expand Up @@ -441,7 +441,7 @@ it('No posts', () => {
const Post = hexo.model('Post');
const generator = require('../lib/generator').bind(hexo);

require('../node_modules/hexo/lib/plugins/helper')(hexo);
require('../node_modules/hexo/dist/plugins/helper')(hexo);

hexo.config.feed = {
type: 'atom',
Expand Down

0 comments on commit ca089b0

Please sign in to comment.