TypeError during Jest’s spyOn: Cannot set property getRequest of # which has only a getter

This one was interesting. Issue Babel generates properties with only get defined for re-exported functions. utils/serverRequests/index.ts re-exports functions from other modules so an error is thrown when jest.spyOn is used to spy on the re-exported functions. Details Given this code re-exporting everything from lib: export * from ‘./lib’; …Babel produces this: ‘use strict’; Object.defineProperty(exports, “__esModule”, … Read more

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