mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-24 10:01:48 -04:00
test: make "server status" test stable
This commit is contained in:
@@ -332,6 +332,8 @@ test('print server status', async (t: tape.Test) => {
|
||||
|
||||
const server = spawn(['server', 'start'])
|
||||
|
||||
await delay(2000)
|
||||
|
||||
const result = execPnpmSync('server', 'status', '--store', path.resolve('..', 'store'))
|
||||
|
||||
t.equal(result.status, 0)
|
||||
|
||||
Reference in New Issue
Block a user