Skip to content

handle deeply nested properties better #24

@gurpreetatwal

Description

@gurpreetatwal

Figure out what the ideal behavior should be when some part of a very long property path does not exist.

assert.is(object.path1.path2.typo.path3.path4, 'value');

Currently that will just result in a simple TypeError: Cannot read property 'path3' of undefined, but it should show at the very least print the properties of path2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions