richardwan

Results 2 comments of richardwan

> ```js > __.assertThat(element, __.evaluates(e => e.querySelector('option'), __.hasDeepProperties({ > value: { > length: __.greaterThan(3), > } > }));``` I can build "evaluates" and see what I can do for good...

This also spawns another "syntactic sugar" matcher "hasNestedProperty". I would be happy to implement if there is interest. ``` __.assertThat(element, __.hasNestedProperty('value.length', __.greaterThan(3)) ``` could be syntactic sugar for ``` __.assertThat(element,...