Skip to content

Commit a991db5

Browse files
committed
added test for ASDS endpoint
1 parent 42cea06 commit a991db5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/v1-all.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ test("It should return no launches with cap C403", () => {
195195
})
196196
})
197197

198+
test("It should return all past ASDS launches", () => {
199+
return request(app).get("/v1/launches/asds").then(response => {
200+
expect(response.statusCode).toBe(200)
201+
expect(response.text).toContain("ASDS")
202+
})
203+
})
204+
198205
//------------------------------------------------------------
199206
// Upcoming Launches
200207
//------------------------------------------------------------

0 commit comments

Comments
 (0)