16 lines
357 B
JavaScript
16 lines
357 B
JavaScript
|
|
jest.disableAutomock()
|
|
jest.unmock('got')
|
|
|
|
const { getWebmentions } = require('./../../src/webmention/get')
|
|
const domain = "brainbaking.com"
|
|
|
|
describe("webmention receive scenario test", () => {
|
|
|
|
test("getWebmentions fetches anything at all", async () => {
|
|
const result = await getWebmentions(domain)
|
|
expect(result.length).toBeGreaterThan(-1)
|
|
})
|
|
|
|
})
|