Skip to content

Commit 825fa3a

Browse files
committed
test: use production endpoint
1 parent c1eb021 commit 825fa3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import microlink from '@microlink/function'
44
import test from 'ava'
55

6-
const ENDPOINT = 'http://localhost:3000'
6+
const ENDPOINT = 'https://api.microlink.io'
77

88
test('interact with the page', async t => {
99
const getTitle = ({ page }) => page.title()
@@ -16,7 +16,7 @@ test('interact with the page', async t => {
1616
t.is(result.value, 'Example Domain')
1717
})
1818

19-
test.only('interact with the response', async t => {
19+
test('interact with the response', async t => {
2020
const getTitle = ({ response }) => response.status()
2121

2222
const myFn = microlink(getTitle, { endpoint: ENDPOINT })

0 commit comments

Comments
 (0)