@@ -3,7 +3,7 @@ import { requireAtLeast } from '../../test/version.js';
33import { WeaviateUserTypeDB } from '../openapi/types.js' ;
44import { GetUserOptions , UserDB } from './types.js' ;
55
6- requireAtLeast ( 1 , 29 , 0 ) ( describe ) ( 'Integration testing of the users namespace' , ( ) => {
6+ requireAtLeast ( 1 , 29 , 0 ) . describe ( 'Integration testing of the users namespace' , ( ) => {
77 const makeClient = ( key : string ) =>
88 weaviate . connectToLocal ( {
99 port : 8091 ,
@@ -58,7 +58,7 @@ requireAtLeast(1, 29, 0)(describe)('Integration testing of the users namespace',
5858 expect ( roles . test ) . toBeUndefined ( ) ;
5959 } ) ;
6060
61- requireAtLeast ( 1 , 30 , 0 ) ( describe ) ( 'dynamic user management' , ( ) => {
61+ requireAtLeast ( 1 , 30 , 0 ) . describe ( 'dynamic user management' , ( ) => {
6262 /** List dynamic DB users. */
6363 const listDBUsers = ( c : WeaviateClient , opts ?: GetUserOptions ) =>
6464 c . users . db . listAll ( opts ) . then ( ( all ) => all . filter ( ( u ) => u . userType == 'db_user' ) ) ;
@@ -164,7 +164,7 @@ requireAtLeast(1, 29, 0)(describe)('Integration testing of the users namespace',
164164 expect ( roles . Permissioner . nodesPermissions ) . toHaveLength ( 1 ) ;
165165 } ) ;
166166
167- requireAtLeast ( 1 , 30 , 1 ) ( describe ) ( 'additional DUM features' , ( ) => {
167+ requireAtLeast ( 1 , 30 , 1 ) . describe ( 'additional DUM features' , ( ) => {
168168 it ( 'should be able to fetch additional user info' , async ( ) => {
169169 const admin = await makeClient ( 'admin-key' ) ;
170170 const timKey = await admin . users . db . create ( 'timely-tim' ) ;
0 commit comments