Skip to content

Commit

Permalink
Fix silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TotalTechGeek committed Mar 19, 2024
1 parent d063124 commit 77343ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions customEngines.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { LogicEngine, AsyncLogicEngine } from './index.js'
class DataEngine extends LogicEngine {
isData (logic, firstKey) {
if (Object.keys(logic).length > 1) return true
return !(firstKey in logic)
return !(firstKey in this.methods)
}
}

class AsyncDataEngine extends AsyncLogicEngine {
isData (logic, firstKey) {
if (Object.keys(logic).length > 1) return true
return !(firstKey in logic)
return !(firstKey in this.methods)
}
}

Expand Down

0 comments on commit 77343ab

Please sign in to comment.