Skip to content

Commit 687c02c

Browse files
committed
added test for RTLS endpoint
1 parent a991db5 commit 687c02c

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
@@ -202,6 +202,13 @@ test("It should return all past ASDS launches", () => {
202202
})
203203
})
204204

205+
test("It should return all past RTLS launches", () => {
206+
return request(app).get("/v1/launches/rtls").then(response => {
207+
expect(response.statusCode).toBe(200)
208+
expect(response.text).toContain("RTLS")
209+
})
210+
})
211+
205212
//------------------------------------------------------------
206213
// Upcoming Launches
207214
//------------------------------------------------------------

0 commit comments

Comments
 (0)