Returning a Promise from “describe” is not supported. Tests must be defined synchronously

Change

describe('handlers.getSemesters', async () => {

To

describe('handlers.getSemesters', () => {

And then put asynchronous code inside of it block

it('should return an array of Semesters', async () => {
  // ...
})

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)