This commit is contained in:
parent
abd483fb98
commit
55c11761be
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ describe('json', () => {
|
||||||
const json = JSON.parse(result.stdout);
|
const json = JSON.parse(result.stdout);
|
||||||
|
|
||||||
expect(json).toBeDefined();
|
expect(json).toBeDefined();
|
||||||
});
|
}, 5000);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('sort', () => {
|
describe('sort', () => {
|
||||||
|
@ -134,7 +134,7 @@ describe('sort', () => {
|
||||||
|
|
||||||
expect(result.code).toBe(1);
|
expect(result.code).toBe(1);
|
||||||
expect(result.stderr).toBe("error: option '--sort <sort>' argument 'invalid' is invalid. Allowed choices are hot, new, top.\n");
|
expect(result.stderr).toBe("error: option '--sort <sort>' argument 'invalid' is invalid. Allowed choices are hot, new, top.\n");
|
||||||
});
|
}, 5000);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('query-metadata', () => {
|
describe('query-metadata', () => {
|
||||||
|
|
Loading…
Reference in a new issue