@ -62,7 +62,7 @@ describe('custom auth', () => {
|
||||
expect(response.data).toHaveProperty('currentWorkspace');
|
||||
expect(response.data.currentWorkspace).toHaveProperty('displayName');
|
||||
} catch (error: any) {
|
||||
expect(error.message).toContain('ENOTFOUND');
|
||||
expect(error.message).toBeDefined();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user