Skip to content

Commit

Permalink
test: update path for external_link and meta_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Aug 11, 2019
1 parent d999e24 commit 1caaa39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/scripts/filters/external_link.js
Expand Up @@ -3,7 +3,7 @@
describe('External link', () => {
const Hexo = require('../../../lib/hexo');
const hexo = new Hexo();
const externalLink = require('../../../lib/plugins/filter/after_post_render/external_link').bind(hexo);
const externalLink = require('../../../lib/plugins/filter/after_render/external_link').bind(hexo);

hexo.config.external_link = true;
hexo.config.url = 'https://example.com';
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/filters/meta_generator.js
Expand Up @@ -3,7 +3,7 @@
describe('Meta Generator', () => {
const Hexo = require('../../../lib/hexo');
const hexo = new Hexo();
const metaGenerator = require('../../../lib/plugins/filter/meta_generator').bind(hexo);
const metaGenerator = require('../../../lib/plugins/filter/after_render/meta_generator').bind(hexo);
const cheerio = require('cheerio');

it('default', () => {
Expand Down

0 comments on commit 1caaa39

Please sign in to comment.