Skip to content

Commit

Permalink
refactor(meta_generator_helper): destructure
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Dec 11, 2019
1 parent 4b6177e commit bb430d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/helpers/meta_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('meta_generator', () => {
const metaGeneratorHelper = require('../../../lib/plugins/helper/meta_generator').bind(hexo);

it('default', () => {
const version = hexo.env.version;
const { version } = hexo;
const versionType = typeof version;

versionType.should.not.eql('undefined');
Expand Down

0 comments on commit bb430d2

Please sign in to comment.