jasmine unit testing - testing for an undefined property of an object
The answer seems to be ...
expect(A.NONEXISTINGPROP).not.toBeDefined();
ie remove the name bit
As a follow-up, Jasmine has had toBeUndefined
since v1.3.0 (see here).
expect(A.NONEXISTINGPROP).toBeUndefined();