1
1
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:
louistiti 2021-04-22 19:06:02 +08:00
parent 0c925626df
commit e09e9b02e8
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6

View File

@ -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])