提交 2c3df64b 编写于 作者: J Joao Moreno

update zip tests

上级 74b82369
...@@ -22,7 +22,7 @@ suite('Zip', () => { ...@@ -22,7 +22,7 @@ suite('Zip', () => {
const target = path.join(os.tmpdir(), generateUuid()); const target = path.join(os.tmpdir(), generateUuid());
return extract(fixture, target) return extract(fixture, target)
.then(() => exists(path.join(target, 'extension', '1', '2', 'README.md'))) .then(() => exists(path.join(target, 'extension')))
.then(exists => assert(exists)) .then(exists => assert(exists))
.then(() => rimraf(target)); .then(() => rimraf(target));
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册