Skip to content

Matcher suggestions #45

@drewbourne

Description

@drewbourne

hasKeys(...keys) matches an Object if it has the given keys. Values are ignored.
hasOnlyKeys(...keys) matches an Object if has only the given keys. Values are ignored.
hasOnlyProperties(properties) matches an Object if has only the given properties and values. Stricter version of hasProperties()
arrayInAnyOrder(...matchers) similar to hasItems() number of matchers must be equal to the length of the array being matched.
children(childAt0Matcher, ...childAtNMatcher) matches a DisplayObjectContainer if the child at each index matches the given matcher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions