Skip to content

Commit 063a2ff

Browse files
fix: support testIsolation option (#257)
Co-authored-by: Kent C. Dodds <[email protected]>
1 parent 478d7cd commit 063a2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function createQuery(queryName, implementationName) {
3737
Cypress.log({
3838
name: queryName,
3939
type:
40-
this.get('prev').get('chainerId') === this.get('chainerId')
40+
this.get('prev')?.get('chainerId') === this.get('chainerId')
4141
? 'child'
4242
: 'parent',
4343
message: inputArr,

0 commit comments

Comments
 (0)