File tree Expand file tree Collapse file tree
kiloclaw/packages/secret-catalog/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ describe('Secret Catalog', () => {
120120 'GITHUB_TOKEN' ,
121121 'GITHUB_USERNAME' ,
122122 'GITHUB_EMAIL' ,
123- 'BRAVE_SEARCH_API_KEY ' ,
123+ 'BRAVE_API_KEY ' ,
124124 ] ) ;
125125
126126 const catalogEnvVars = new Set ( FIELD_KEY_TO_ENV_VAR . values ( ) ) ;
@@ -138,7 +138,7 @@ describe('Secret Catalog', () => {
138138 expect ( FIELD_KEY_TO_ENV_VAR . get ( 'githubToken' ) ) . toBe ( 'GITHUB_TOKEN' ) ;
139139 expect ( FIELD_KEY_TO_ENV_VAR . get ( 'githubUsername' ) ) . toBe ( 'GITHUB_USERNAME' ) ;
140140 expect ( FIELD_KEY_TO_ENV_VAR . get ( 'githubEmail' ) ) . toBe ( 'GITHUB_EMAIL' ) ;
141- expect ( FIELD_KEY_TO_ENV_VAR . get ( 'braveSearchApiKey' ) ) . toBe ( 'BRAVE_SEARCH_API_KEY ' ) ;
141+ expect ( FIELD_KEY_TO_ENV_VAR . get ( 'braveSearchApiKey' ) ) . toBe ( 'BRAVE_API_KEY ' ) ;
142142 } ) ;
143143
144144 it ( 'ENV_VAR_TO_FIELD_KEY is the exact reverse of FIELD_KEY_TO_ENV_VAR' , ( ) => {
@@ -156,7 +156,7 @@ describe('Secret Catalog', () => {
156156 expect ( ENV_VAR_TO_FIELD_KEY . get ( 'GITHUB_TOKEN' ) ) . toBe ( 'githubToken' ) ;
157157 expect ( ENV_VAR_TO_FIELD_KEY . get ( 'GITHUB_USERNAME' ) ) . toBe ( 'githubUsername' ) ;
158158 expect ( ENV_VAR_TO_FIELD_KEY . get ( 'GITHUB_EMAIL' ) ) . toBe ( 'githubEmail' ) ;
159- expect ( ENV_VAR_TO_FIELD_KEY . get ( 'BRAVE_SEARCH_API_KEY ' ) ) . toBe ( 'braveSearchApiKey' ) ;
159+ expect ( ENV_VAR_TO_FIELD_KEY . get ( 'BRAVE_API_KEY ' ) ) . toBe ( 'braveSearchApiKey' ) ;
160160 } ) ;
161161 } ) ;
162162
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const SECRET_CATALOG_RAW = [
188188 label : 'API Key' ,
189189 placeholder : 'BSA...' ,
190190 placeholderConfigured : 'Enter new key to replace' ,
191- envVar : 'BRAVE_SEARCH_API_KEY ' ,
191+ envVar : 'BRAVE_API_KEY ' ,
192192 validationPattern : '^BSA[A-Za-z0-9_-]{20,}$' ,
193193 validationMessage : 'Brave Search keys start with BSA followed by 20 or more characters.' ,
194194 maxLength : 200 ,
You can’t perform that action at this time.
0 commit comments