The Dirac Delta is not a function and the object written $\displaystyle \int_{-\infty}^\infty e^{j\omega t}\,d\omega$, is a linear functional, not an integral. However, we can make sense of things as follows.
Let $\phi(t)$ be a function that $(i)$ is infinitely differentiable and $(i)$ vanishes outside a closed interval. We say that $\phi\in C_C^\infty$, which means that $\phi$ is infinitely differentiable and has compact support.
Then, we interpet the limit $\lim_{B\to\infty} \frac{2\sin(Bt)}{t}$ in terms of how it acts on $\phi(t)$ in a very special way. We interpret the limit in the sense of "distributions," or loosely put, how it acts on an integration of $\phi$. In particular, we have by integration by parts
$$\begin{align}
\lim_{B\to \infty}\int_{-\infty}^\infty \phi(t)\frac{\sin(Bt)}{t}\,dt&=-\lim_{B\to \infty}\int_{-\infty}^\infty \phi'(t)\int_0^t \frac{\sin(Bt')}{t'}\,dt'\,dt\\\\
&=-\lim_{B\to \infty}\int_{-\infty}^\infty \phi'(t)\int_0^{Bt} \frac{\sin(t')}{t'}\,dt'\,dt\\\\
\end{align}$$
Now, there is a very powerful theorem called the Dominated Convergence Theorem that provides sufficient conditions under which we can interchange the limit with the integral. Those conditions apply here since the integrand is dominated by a constant times a positive function that is independent of $B$ and is integrable over the real numbers. Proceeding to interchange the order of integration and limit, we have
$$\begin{align}
\lim_{B\to \infty}\int_{-\infty}^\infty \phi(t)\frac{\sin(Bt)}{t}\,dt&=-\int_{-\infty}^\infty \phi'(t)\lim_{B\to \infty}\int_0^{Bt} \frac{\sin(t')}{t'}\,dt'\,dt\\\\
&=-\int_{-\infty}^\infty \phi'(t) \frac{\pi}{2}\text{sgn}(t)\,dt\\\\
&=-\frac\pi2 \int_{0}^\infty \phi'(t)\,dt+\frac\pi2 \int_{-\infty}^0 \phi'(t)\,dt\\\\
&=\pi \phi(0)
\end{align}$$
Therefore, the limit as interpreted this way maps any function $\phi\in C_C^\infty$ into $\pi \phi(0)$. Since this is exactly the same result obtained from $\pi \delta(t)$, we say that in the sense of distributions
$$\lim_{B\to\infty}\int_{-B}^B e^{j\omega t}\,d\omega=\pi \delta (t)$$