Skip to content

Commit d1ea8ff

Browse files
committed
fix
1 parent 68b32fe commit d1ea8ff

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/scripts/hexo.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,6 @@ describe('hexo', () => {
5252

5353
it('should watch SIGINT signal');
5454

55-
it('load hexo module in current folder', async () => {
56-
const spy = sinon.spy();
57-
const baseDir = join(__dirname, 'find_pkg_test');
58-
const pkgPath = join(baseDir, 'package.json');
59-
60-
await writeFile(pkgPath, '{"hexo": {}}');
61-
const hexo = proxyquire('../../dist/hexo', {
62-
'./console'(ctx) {
63-
ctx.extend.console.register('help', spy);
64-
}
65-
});
66-
67-
await hexo(baseDir, {_: []});
68-
spy.calledOnce.should.be.true;
69-
await unlink(pkgPath);
70-
await rmdir(baseDir);
71-
});
72-
7355
it('load hexo module in parent folder recursively');
7456

7557
it('display error message if failed to load hexo module');

0 commit comments

Comments
 (0)