Skip to content

Commit

Permalink
Removes flaky test (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Jun 7, 2020
1 parent c468dfb commit 3b8b92c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/cli-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ tap.test('It sets url if supplied', function testUrl (test) {
test.end()
})
})

/*
tap.test('It returns error on invalid url', function testError (test) {
exec('./index.js', ['http://pysje'], function testWithError (error, stdout, stderr) {
test.ok(error.toString().trim(), 'Error ok')
test.end()
})
})

*/
tap.test('It returns data if url supplied', function testData (test) {
exec('./index.js', ['https://www.vg.no'], function testWithData (error, stdout, stderr) {
if (error) {
Expand Down

0 comments on commit 3b8b92c

Please sign in to comment.