Skip to content

Commit

Permalink
style: asyncArrow
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh authored and Thomas Parisot committed Jan 17, 2020
1 parent 64f0c0e commit 06984f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/scripts/filters/save_database.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Save database', () => {
const saveDatabase = Promise.method(require('../../../lib/plugins/filter/before_exit/save_database')).bind(hexo);
const dbPath = hexo.database.options.path;

it('default', async() => {
it('default', async () => {
hexo.env.init = true;
hexo._dbLoaded = true;

Expand All @@ -20,7 +20,7 @@ describe('Save database', () => {
unlink(dbPath);
});

it('do nothing if hexo is not initialized', async() => {
it('do nothing if hexo is not initialized', async () => {
hexo.env.init = false;
hexo._dbLoaded = true;

Expand All @@ -29,7 +29,7 @@ describe('Save database', () => {
exist.should.eql(false);
});

it('do nothing if database is not loaded', async() => {
it('do nothing if database is not loaded', async () => {
hexo.env.init = true;
hexo._dbLoaded = false;

Expand Down

0 comments on commit 06984f6

Please sign in to comment.