Skip to content

Commit 4bab02a

Browse files
committed
Update tests
1 parent 1fe0f63 commit 4bab02a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"precommit": "lint-staged",
5959
"pretest": "npm run lint",
6060
"pretty": "prettier-standard index.js test/**/*.js --single-quote",
61-
"test": "nyc mocha"
61+
"test": "nyc mocha --exit"
6262
},
6363
"license": "MIT",
6464
"lint-staged": {

test/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ const areEqual = (image1, image2) => image1.length === image2.length
1212
describe('browserless', () => {
1313
describe('.html', () => {
1414
it('get full HTML from a link', async () => {
15-
const html = await browserless.html(
16-
'https://www.instagram.com/p/BWUDBntl3_Z/'
17-
)
15+
const html = await browserless.html('https://google.com')
1816
should(html.includes('DOCTYPE')).be.true()
1917
})
2018
})

0 commit comments

Comments
 (0)