Skip to content

Commit 77343ab

Browse files
committed
Fix silly typo
1 parent d063124 commit 77343ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

customEngines.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { LogicEngine, AsyncLogicEngine } from './index.js'
44
class DataEngine extends LogicEngine {
55
isData (logic, firstKey) {
66
if (Object.keys(logic).length > 1) return true
7-
return !(firstKey in logic)
7+
return !(firstKey in this.methods)
88
}
99
}
1010

1111
class AsyncDataEngine extends AsyncLogicEngine {
1212
isData (logic, firstKey) {
1313
if (Object.keys(logic).length > 1) return true
14-
return !(firstKey in logic)
14+
return !(firstKey in this.methods)
1515
}
1616
}
1717

0 commit comments

Comments
 (0)