Skip to content

Commit b9c2021

Browse files
committed
test: fix genereated-config test and default config for updated schema
1 parent b198b31 commit b9c2021

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

proxy.config.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@
6767
}
6868
}
6969
],
70-
"api": {
71-
"github": {
72-
"baseUrl": "https://api.github.com"
73-
}
74-
},
70+
"api": {},
7571
"commitConfig": {
7672
"author": {
7773
"email": {

test/generated-config.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ describe('Generated Config (QuickType)', () => {
212212
userInADGroup:
213213
'https://somedomain.com/some/path/checkUserGroups?domain=<domain>&name=<name>&id=<id>',
214214
},
215-
github: {
216-
baseUrl: 'https://api.github.com',
217-
},
218215
},
219216

220217
domains: {
@@ -224,13 +221,10 @@ describe('Generated Config (QuickType)', () => {
224221

225222
// Complex nested structures
226223
attestationConfig: {
227-
enabled: true,
228224
questions: [
229225
{
230-
id: 'q1',
231-
type: 'boolean',
232-
required: true,
233226
label: 'Test Question',
227+
tooltip: { text: 'Test tooltip content', links: ['https://git-proxy.finos.org./'] },
234228
},
235229
],
236230
},

0 commit comments

Comments
 (0)