Skip to content

Commit

Permalink
test: remove camaro.ready call
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 10, 2021
1 parent 4fadea6 commit 83e7ca0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/index.js
Expand Up @@ -4,7 +4,7 @@ require('chai').should();
const Hexo = require('hexo');
const cheerio = require('cheerio');
const { deepMerge, encodeURL } = require('hexo-util');
const { ready, transform } = require('camaro');
const { transform } = require('camaro');
const sitemapCfg = {
path: 'sitemap.xml',
rel: false,
Expand All @@ -13,7 +13,6 @@ const sitemapCfg = {
};

const p = async xml => {
await ready();
const output = await transform(xml, {
items: ['//url', {
link: 'loc',
Expand Down

0 comments on commit 83e7ca0

Please sign in to comment.