fix megalodon unit tests
This commit is contained in:
parent
7aba846446
commit
9f640beecc
2 changed files with 9 additions and 8 deletions
|
|
@ -49,13 +49,14 @@ describe('detector', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe('wildebeest', () => {
|
||||
const url = 'https://wildebeest.mirror-kt.dev'
|
||||
it('should be mastodon', async () => {
|
||||
const wildebeest = await detector(url)
|
||||
expect(wildebeest).toEqual('mastodon')
|
||||
})
|
||||
})
|
||||
// This domain no longer resolves, and resolution failures apparently crash jest
|
||||
// describe('wildebeest', () => {
|
||||
// const url = 'https://wildebeest.mirror-kt.dev'
|
||||
// it('should be mastodon', async () => {
|
||||
// const wildebeest = await detector(url)
|
||||
// expect(wildebeest).toEqual('mastodon')
|
||||
// })
|
||||
// })
|
||||
|
||||
describe('unknown', () => {
|
||||
const url = 'https://google.com'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue