Skip to content

Commit ed316b1

Browse files
committed
add passing 404 test (cov 85%)
1 parent 1491782 commit ed316b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ test('Updates', async t => {
2727
t.ok(body.name)
2828
t.match(body.url, /-mac\.zip$/)
2929

30+
res = await fetch(`${address}/juliangruber/brace-expansion/darwin/0.0.0`)
31+
t.equal(res.status, 404)
32+
3033
server.close()
3134
})

0 commit comments

Comments
 (0)