mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
test(pack) rm duplicate
This commit is contained in:
parent
084a7292a1
commit
ccb691edd8
1 changed files with 0 additions and 16 deletions
|
|
@ -25,22 +25,6 @@ const put = promisify((options, fn) => {
|
|||
fn(null, request.put(options));
|
||||
});
|
||||
|
||||
test('cloudcmd: rest: fs: path', (t) => {
|
||||
before((port, after) => {
|
||||
get(`http://localhost:${port}/api/v1/fs`)
|
||||
.then(warp(_pullout, 'string'))
|
||||
.then(JSON.parse)
|
||||
.then((dir) => {
|
||||
t.equal('/', dir.path, 'should dir path be "/"');
|
||||
t.end();
|
||||
after();
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
test('cloudcmd: rest: pack: get', (t) => {
|
||||
before((port, after) => {
|
||||
get(`http://localhost:${port}/api/v1/pack/fixture/pack`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue