-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Current behavior:
unroll('should be okay with id being #id', (done, testArgs) => {
let object = { id: testArgs.id };
expect(object.id).toEqual(testArgs.id);
done();
},
`
where:
id
${null}
${undefined}
`
);
// Output:
✖ encountered a declaration exception
Error: title not expanded as incorrect args passed inExpected behavior:
✔ should be okay with id being null
✔ should be okay with id being undefined
Granted, I understand with the dataTable method this is a bit tricky since it is a template literal (i.e., what if someone wants to test the string "null" or "undefined", not sure what is expected behavior), but I think the dataArray method should be valid.
Reactions are currently unavailable