Skip to content

Commit

Permalink
test: make tests great again
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 28, 2023
1 parent 77415a1 commit afef295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"private": true,
"license": "MIT",
"ava": {
"serial": true,
"files": [
"test/**/*.js",
"!test/helpers.js"
Expand Down
6 changes: 3 additions & 3 deletions test/providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ test('reddit', async t => {

test('microlink', async t => {
const serverUrl = await runServer(t)
const { body } = await got('microlink/reddit.com?json', {
const { body } = await got('microlink/teslahunt.io?json', {
prefixUrl: serverUrl
})
t.true(body.url.includes('images.weserv.nl'))
Expand All @@ -134,8 +134,8 @@ test('readcv', async t => {
})
t.true(body.url.includes('images.weserv.nl'))
})

test('tiktok', async t => {
//
;(isCI ? test.skip : test)('tiktok', async t => {
const serverUrl = await runServer(t)
const { body } = await got('tiktok/carlosazaustre?json', {
prefixUrl: serverUrl
Expand Down

0 comments on commit afef295

Please sign in to comment.