Skip to content

Commit

Permalink
Fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner committed Oct 2, 2020
1 parent 64a5b84 commit c95bd93
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ describe('copy to space', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

const [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ describe('Spaces Public API', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

const [routeDefinition, routeHandler] = router.delete.mock.calls[0];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('GET space', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('GET /spaces/space', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('Spaces Public API', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

const [routeDefinition, routeHandler] = router.post.mock.calls[0];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ describe('PUT /api/spaces/space', () => {
getImportExportObjectLimit: () => 1000,
log,
spacesService,
authorization: null, // not needed for this route
});

const [routeDefinition, routeHandler] = router.put.mock.calls[0];
Expand Down

0 comments on commit c95bd93

Please sign in to comment.