Co-authored-by: Theo Markovic <theodore.markovic@svenskaspel.se>
This commit is contained in:
@@ -72,6 +72,9 @@ describe("auth plugin - actions", () => {
|
||||
authSelectors: {
|
||||
getConfigs: () => ({})
|
||||
},
|
||||
errActions: {
|
||||
newAuthErr: () => ({})
|
||||
},
|
||||
oas3Selectors: {
|
||||
selectedServer: () => server,
|
||||
serverEffectiveValue: () => effectiveServer || server
|
||||
@@ -111,6 +114,9 @@ describe("auth plugin - actions", () => {
|
||||
}
|
||||
})
|
||||
},
|
||||
errActions: {
|
||||
newAuthErr: () => ({})
|
||||
},
|
||||
specSelectors: {
|
||||
isOAS3: () => false,
|
||||
operationScheme: () => "https",
|
||||
@@ -139,6 +145,9 @@ describe("auth plugin - actions", () => {
|
||||
fn: {
|
||||
fetch: jest.fn().mockImplementation(() => Promise.resolve())
|
||||
},
|
||||
errActions: {
|
||||
newAuthErr: () => ({})
|
||||
},
|
||||
getConfigs: () => ({}),
|
||||
authSelectors: {
|
||||
getConfigs: () => ({
|
||||
@@ -294,6 +303,9 @@ describe("auth plugin - actions", () => {
|
||||
getConfigs: () => ({
|
||||
persistAuthorization: true
|
||||
}),
|
||||
errActions: {
|
||||
newAuthErr: () => ({})
|
||||
},
|
||||
authSelectors: {
|
||||
authorized: jest.fn(() => Map(data))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user