test: resolution stage completion is logged

This commit is contained in:
zkochan
2017-07-01 18:11:25 +03:00
parent f1654385c1
commit 6354f13c2f

View File

@@ -45,6 +45,11 @@ test('no dependencies (lodash)', async (t: tape.Test) => {
await installPkgs(['lodash@4.0.0'], testDefaults({reporter}))
t.ok(reporter.calledWithMatch({
name: 'pnpm:stage',
level: 'debug',
message: 'resolution_done',
}), 'resolution stage done logged')
t.ok(reporter.calledWithMatch({
level: 'info',
message: 'Creating dependency tree',