






















@@ -47,13 +47,13 @@ type ModeExecProviderFixture = {
4747tokenMarker: string;
4848passwordMarker: string;
4949providers: {
50-tokenProvider: {
50+tokenprovider: {
5151source: "exec";
5252command: string;
5353args: string[];
5454allowInsecurePath: true;
5555};
56-passwordProvider: {
56+passwordprovider: {
5757source: "exec";
5858command: string;
5959args: string[];
@@ -85,13 +85,13 @@ async function withModeExecProviderFixture(
8585 tokenMarker,
8686 passwordMarker,
8787providers: {
88-tokenProvider: {
88+tokenprovider: {
8989source: "exec",
9090command: process.execPath,
9191args: ["-e", tokenExecProgram],
9292allowInsecurePath: true,
9393},
94-passwordProvider: {
94+passwordprovider: {
9595source: "exec",
9696command: process.execPath,
9797args: ["-e", passwordExecProgram],
@@ -361,7 +361,7 @@ describe("resolveGatewayConnection", () => {
361361loadConfig.mockReturnValue({
362362secrets: {
363363providers: {
364-fileProvider: {
364+fileprovider: {
365365source: "file",
366366path: secretFile,
367367mode: "json",
@@ -372,7 +372,7 @@ describe("resolveGatewayConnection", () => {
372372gateway: {
373373mode: "local",
374374auth: {
375-token: { source: "file", provider: "fileProvider", id: "/gatewayToken" },
375+token: { source: "file", provider: "fileprovider", id: "/gatewayToken" },
376376},
377377},
378378});
@@ -396,7 +396,7 @@ describe("resolveGatewayConnection", () => {
396396loadConfig.mockReturnValue({
397397secrets: {
398398providers: {
399-execProvider: {
399+execprovider: {
400400source: "exec",
401401command: process.execPath,
402402args: ["-e", execProgram],
@@ -407,7 +407,7 @@ describe("resolveGatewayConnection", () => {
407407gateway: {
408408mode: "local",
409409auth: {
410-token: { source: "exec", provider: "execProvider", id: "EXEC_GATEWAY_TOKEN" },
410+token: { source: "exec", provider: "execprovider", id: "EXEC_GATEWAY_TOKEN" },
411411},
412412},
413413});
@@ -428,8 +428,8 @@ describe("resolveGatewayConnection", () => {
428428mode: "local",
429429auth: {
430430mode: "token",
431-token: { source: "exec", provider: "tokenProvider", id: "TOKEN_SECRET" },
432-password: { source: "exec", provider: "passwordProvider", id: "PASSWORD_SECRET" },
431+token: { source: "exec", provider: "tokenprovider", id: "TOKEN_SECRET" },
432+password: { source: "exec", provider: "passwordprovider", id: "PASSWORD_SECRET" },
433433},
434434},
435435});
@@ -455,8 +455,8 @@ describe("resolveGatewayConnection", () => {
455455mode: "local",
456456auth: {
457457mode: "password",
458-token: { source: "exec", provider: "tokenProvider", id: "TOKEN_SECRET" },
459-password: { source: "exec", provider: "passwordProvider", id: "PASSWORD_SECRET" },
458+token: { source: "exec", provider: "tokenprovider", id: "TOKEN_SECRET" },
459+password: { source: "exec", provider: "passwordprovider", id: "PASSWORD_SECRET" },
460460},
461461},
462462});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。