mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-18 14:21:32 +03:00
test(server): fix units to introduce modules actions
This commit is contained in:
parent
b449376f61
commit
352c39a46b
@ -43,7 +43,8 @@ class Synchronizer {
|
||||
return new Promise((resolve) => {
|
||||
this.brain.socket.emit('download', {
|
||||
package: this.classification.package,
|
||||
module: this.classification.module
|
||||
module: this.classification.module,
|
||||
action: this.classification.action
|
||||
})
|
||||
|
||||
resolve()
|
||||
|
@ -71,6 +71,7 @@ describe('brain', () => {
|
||||
classification: {
|
||||
package: 'leon',
|
||||
module: 'greeting',
|
||||
action: 'run',
|
||||
confidence: 0.9
|
||||
}
|
||||
}
|
||||
@ -97,6 +98,7 @@ describe('brain', () => {
|
||||
classification: {
|
||||
package: 'checker',
|
||||
module: 'isitdown',
|
||||
action: 'run',
|
||||
confidence: 0.9
|
||||
}
|
||||
}
|
||||
@ -116,6 +118,7 @@ describe('brain', () => {
|
||||
classification: {
|
||||
package: 'leon',
|
||||
module: 'greeting',
|
||||
action: 'run',
|
||||
confidence: 0.9
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user