Skip to content

Commit efb7dbf

Browse files
committed
exists test for new routes
1 parent cadc2f1 commit efb7dbf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

__tests__/routes_mounted.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ describe('Check to see that all /v1/api/ route patterns exist.', () => {
105105
expect(routeExists(api_stack, '/api/release')).toBe(true)
106106
})
107107

108+
it('/v1/api/search -- mounted ', () => {
109+
expect(routeExists(api_stack, '/api/search')).toBe(true)
110+
})
111+
112+
it('/v1/api/search/phrase -- mounted ', () => {
113+
expect(routeExists(api_stack, '/api/search/phrase')).toBe(true)
114+
})
115+
108116
})
109117

110118
describe('Check to see that critical static files are present', () => {

0 commit comments

Comments
 (0)