add test comment
This commit is contained in:
parent
a80b34535d
commit
ae9964cd66
2
test.js
2
test.js
@ -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 || {})) {
|
||||
|
Loading…
Reference in New Issue
Block a user