I would like to get dirac delta from integral definition, of course if I ask
Integrate[Exp[I x t],{x,-Infinity,Infinity}]
I get that the integral does not converge because it does not. In this case I have to work with distribution rather than with function. A workaround can be
FourierTransform[1,x,t]
but I was wandering if there is the possibility to make Mathematica handle distributions inside normal integrals