Skip to content

Commit 127cc36

Browse files
fix(test): add missing await to unlink in save_database test (#5753)
1 parent f144939 commit 127cc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/scripts/filters/save_database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('Save database', () => {
1818
const exist = await exists(dbPath);
1919
exist.should.be.true;
2020

21-
unlink(dbPath);
21+
await unlink(dbPath);
2222
});
2323

2424
it('do nothing if hexo is not initialized', async () => {

0 commit comments

Comments
 (0)