diff --git a/package.json b/package.json index c2a5603..d190c23 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "c8": "8.0.1", "chai": "4.3.10", "eslint": "8.55.0", - "hexo": "6.3.0", + "hexo": "7.0.0", "hexo-renderer-marked": "6.1.1", "js-yaml": "4.1.0", "mocha": "10.2.0", diff --git a/test/helpers/next-url.js b/test/helpers/next-url.js index ea781ad..87879c8 100644 --- a/test/helpers/next-url.js +++ b/test/helpers/next-url.js @@ -13,7 +13,7 @@ describe('next-url', () => { before(() => { hexo.config.url = 'https://example.com'; - hexo.url_for = require('hexo/lib/plugins/helper/url_for').bind(hexo); + hexo.url_for = require('hexo/dist/plugins/helper/url_for').bind(hexo); }); it('text', () => {