mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-04 19:57:26 +00:00
fix megalodon unit tests
This commit is contained in:
parent
7aba846446
commit
9f640beecc
2 changed files with 9 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p ./",
|
"build": "tsc -p ./",
|
||||||
"doc": "typedoc --out ../docs ./src",
|
"doc": "typedoc --out ../docs ./src",
|
||||||
"test": "NODE_ENV=test jest -u --maxWorkers=3"
|
"test": "cross-env NODE_ENV=test jest -u --maxWorkers=3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=15.0.0"
|
"node": ">=15.0.0"
|
||||||
|
|
|
@ -49,13 +49,14 @@ describe('detector', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('wildebeest', () => {
|
// This domain no longer resolves, and resolution failures apparently crash jest
|
||||||
const url = 'https://wildebeest.mirror-kt.dev'
|
// describe('wildebeest', () => {
|
||||||
it('should be mastodon', async () => {
|
// const url = 'https://wildebeest.mirror-kt.dev'
|
||||||
const wildebeest = await detector(url)
|
// it('should be mastodon', async () => {
|
||||||
expect(wildebeest).toEqual('mastodon')
|
// const wildebeest = await detector(url)
|
||||||
})
|
// expect(wildebeest).toEqual('mastodon')
|
||||||
})
|
// })
|
||||||
|
// })
|
||||||
|
|
||||||
describe('unknown', () => {
|
describe('unknown', () => {
|
||||||
const url = 'https://google.com'
|
const url = 'https://google.com'
|
||||||
|
|
Loading…
Reference in a new issue