From 0da9e210bc926188341218225b555dfe7270d95e Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 3 Dec 2023 00:01:39 +0800 Subject: [PATCH] Update next-url.js --- test/helpers/next-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/next-url.js b/test/helpers/next-url.js index ea781adc2..87879c8d4 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', () => {