mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-11 18:27:21 +03:00
test(package/checker): use another domain name to test down domain on isitdown module
This commit is contained in:
parent
0c925626df
commit
e09e9b02e8
@ -11,7 +11,7 @@ describe('checker:isitdown', async () => {
|
||||
|
||||
test('detects down domain name', async () => {
|
||||
global.nlu.brain.execute = jest.fn()
|
||||
await global.nlu.process('Check if fakedomainnametotestleon.fr is up')
|
||||
await global.nlu.process('Check if fakedomainnametotestleon.ai is up')
|
||||
|
||||
const [obj] = global.nlu.brain.execute.mock.calls
|
||||
await global.brain.execute(obj[0])
|
||||
|
Loading…
Reference in New Issue
Block a user