fix(bug) : Fix url field Bug Errors

This commit is contained in:
osohyun0224 2024-06-09 17:03:56 +09:00
parent db476eb135
commit 461d424080

View file

@ -221,13 +221,12 @@ export class TestTypeImpl {
}
if (typeof modifierArgs[0] === 'function') {
suite._modifiers.push({ type, fn: modifierArgs[0], location, description: modifierArgs[1], url: modifierArgs[1] });
suite._modifiers.push({ type, fn: modifierArgs[0], location, description: modifierArgs[1] });
} else {
if (modifierArgs.length >= 1 && !modifierArgs[0])
return;
const description = modifierArgs[1];
const url = modifierArgs[1];
suite._staticAnnotations.push({ type, description, url });
suite._staticAnnotations.push({ type, description });
}
return;
}