Wolfram alpha gives the answer to be
$$F(\omega)=\sqrt{2\pi}\delta(\omega)$$
Does that mean that the function is valued $\sqrt{2\pi}$ at all points in the frequency domain? I think this is reasonable because such function i.e. $f(t)=1$ in the time domain would be sum of all the harmonics of a sinusoid and hence would contain all the frequencies. Maybe no, the function isn't varying at all and hence the frequency is $0$. But then the Fourier transform should have been $\delta(0)$ instead of $\delta(\omega)$.
Someone please shed some light on this!