add test for fetch failure

This commit is contained in:
Maren Süwer
2018-08-21 16:21:41 +02:00
parent 60f29a1bc2
commit 4cc395bd73
2 changed files with 17 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ export const FETCH_PERMISSIONS_FAILURE = `${FETCH_PERMISSIONS}_${types.FAILURE_S
const REPOS_URL = "repositories";
const PERMISSIONS_URL = "permissions";
// fetch repos
// fetch permissions
export function fetchPermissions(namespace: string, name: string) {
return function(dispatch: any) {