Skip to content

Commit

Permalink
V13 Pre-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS committed Sep 26, 2022
1 parent 8a010f5 commit a20b0c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/routes/api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ describe('routes API', () => {
expect(fakeApp.use).toHaveBeenCalledWith('/', fakeValues.router)
})
it('should set the router up with the app even if the app is included after the router is created', () => {
const fakeRouter = {}
const fakeApp = { use: jest.fn() }

routers.external.setupRouter()
Expand All @@ -41,7 +40,6 @@ describe('routes API', () => {
expect(fakeApp.use).toHaveBeenCalledWith('/', fakeValues.router)
})
it('should allow the user to set the path of the router', () => {
const fakeRouter = {}
const fakeApp = { use: jest.fn() }

routers.setApp(fakeApp)
Expand All @@ -50,7 +48,6 @@ describe('routes API', () => {
expect(fakeApp.use).toHaveBeenCalledWith('/my-path', fakeValues.router)
})
it('should allow the user to set the path of the router when the app is included after the router', () => {
const fakeRouter = {}
const fakeApp = { use: jest.fn() }

routers.external.setupRouter('/my-path')
Expand Down

0 comments on commit a20b0c9

Please sign in to comment.