Strapi Unit Testing - strapi is not defined

For me even after this change i still have the same problem like this didn’t work for me and the db-file still busy
resource busy or locked, unlink 'C:\Users\DELL\Documents\gomycode\website-strapi-backend\tests/…/.tmp/test.db