cli: test that we cleaned up the old zip

This commit is contained in:
Brian Mann
2017-09-04 12:15:13 -04:00
parent d9a28bf278
commit 2bec027b6d

View File

@@ -140,6 +140,9 @@ describe('install', function () {
version: packageVersion,
})
// cleans up the zip file
expect(fs.removeAsync).to.be.calledWith(downloadDestination)
snapshot(this.stdout.toString())
})
})
@@ -207,6 +210,5 @@ describe('install', function () {
snapshot(this.stdout.toString())
})
})
})
})