Skip to content

Learn to code Posts

TSConfig

esModuleInterop: true > to allow synthetic default imports like import React from ‘React’ instead of import * as React from ‘React’

FAQ

Jest testing does not find absolute pathsIn jest.config add the path where to start from fe srcmoduleDirectories: [‘node_modules’, ‘src’]