@@ -35,29 +35,29 @@ describe('connection', () => {
35
35
} ) ;
36
36
} ) ;
37
37
38
- it ( 'makes an Azure logged-in request with client credentials' , async ( ) => {
39
- if ( process . env . AZURE_CLIENT_SECRET == undefined || process . env . AZURE_CLIENT_SECRET == '' ) {
40
- console . warn ( 'Skipping because `AZURE_CLIENT_SECRET` is not set' ) ;
41
- return Promise . resolve ( ) ;
42
- }
43
-
44
- const client = await weaviate . connectToLocal ( {
45
- port : 8081 ,
46
- authCredentials : new AuthClientCredentials ( {
47
- clientSecret : process . env . AZURE_CLIENT_SECRET ,
48
- silentRefresh : false ,
49
- } ) ,
50
- } ) ;
51
-
52
- return client
53
- . getMeta ( )
54
- . then ( ( res ) => {
55
- expect ( res . version ) . toBeDefined ( ) ;
56
- } )
57
- . catch ( ( e ) => {
58
- throw new Error ( 'it should not have errord: ' + e ) ;
59
- } ) ;
60
- } ) ;
38
+ // it('makes an Azure logged-in request with client credentials', async () => {
39
+ // if (process.env.AZURE_CLIENT_SECRET == undefined || process.env.AZURE_CLIENT_SECRET == '') {
40
+ // console.warn('Skipping because `AZURE_CLIENT_SECRET` is not set');
41
+ // return Promise.resolve();
42
+ // }
43
+
44
+ // const client = await weaviate.connectToLocal({
45
+ // port: 8081,
46
+ // authCredentials: new AuthClientCredentials({
47
+ // clientSecret: process.env.AZURE_CLIENT_SECRET,
48
+ // silentRefresh: false,
49
+ // }),
50
+ // });
51
+
52
+ // return client
53
+ // .getMeta()
54
+ // .then((res) => {
55
+ // expect(res.version).toBeDefined();
56
+ // })
57
+ // .catch((e) => {
58
+ // throw new Error('it should not have errord: ' + e);
59
+ // });
60
+ // });
61
61
62
62
it ( 'makes an Okta logged-in request with client credentials' , async ( ) => {
63
63
if ( process . env . OKTA_CLIENT_SECRET == undefined || process . env . OKTA_CLIENT_SECRET == '' ) {
0 commit comments