add test comment

This commit is contained in:
silverwind 2020-03-08 17:44:04 +01:00
parent a80b34535d
commit ae9964cd66
Signed by: silverwind
GPG Key ID: 2E62B41C93869443

@ -51,6 +51,8 @@ function makeTest(args, expected) {
return async () => {
const {stdout} = await execa(join(__dirname, "updates.js"), args.split(/\s+/), {cwd: testDir});
const {results} = JSON.parse(stdout);
// Parse results, with custom validation for the dynamic "age" property
for (const dependencyType of dependencyTypes) {
for (const [dependencyName, data] of Object.entries(expected[dependencyType] || {})) {
for (const [key, value] of Object.entries(data || {})) {