(instance: any, next = () => {})
| 6 | |
| 7 | describe('AllErrors', () => { |
| 8 | const waitForError = (instance: any, next = () => {}) => new Promise<string[]>((resolve) => { |
| 9 | instance.onError((...error: string[]) => resolve(error)); |
| 10 | next(); |
| 11 | }); |
| 12 | |
| 13 | it.skip('throws an error when an invalid token is set', async () => { |
| 14 | console.log('Testing "Credentials error" error:'); |
no test coverage detected