Consider this definition of $\delta (x)$
$$\int_\mathbb{R} \delta(x)f(x)\mathrm{d}x=f(0) $$
I saw a question asking to prove that $$ \frac{1}{\pi x}\sin\left(\frac{\pi x}{\varepsilon}\right)$$
approaches $\delta (x)$ as $\varepsilon$ goes to $0$. To try to answer I plugged it into the definition
$$ \lim\limits_{\varepsilon\rightarrow0}\int_\mathbb{R}\frac{1}{\pi x}\sin\left(\frac{\pi x}{\varepsilon}\right)f(x)\mathrm{d}x=\lim\limits_{\varepsilon\rightarrow0}\int_\mathbb{R}\frac{1}{\pi t}\sin(t)f\left(\frac{\varepsilon t }{\pi}\right)\mathrm{d}x=$$
Now, even assuming we could permutate limit and integral (which I don't think we can) we would get
$$ f(0)\frac{1}{\pi}\int_\mathbb{R}\frac{\sin(t)}{t}\mathrm{d}t$$
Now, this is improperly Riemann integrable, and the result would correctly be $f(0)$. Nevertheless, it is not Lebesgue integrable. My question is: can we really say that this tends to a $\delta$? And secondly, can we permutate integral and limit?
To understand the convergence of (test and generalized) functions to the delta distribution, one must talk about the space of such functions about its norm.
The discussion starts with the Schwartz space over the real line: $\mathcal{S}(\mathbb{R})$, and its dual space. If you are unfamiliar with this space, think of very well-behaved functions ($C^\infty$ and all the derivatives are integrable). One then realizes that the dual space, that is the space of functionals from $\mathcal{S}(\mathbb{R})$ to $\mathbb{R}$, contains $L^\infty$.
Answering your specific question, any $L^\infty$ function is a test function (like the Dirac distribution), and so terms like "distance" and "convergence" are well defined, without going into details as to how the norm is defined. Furthermore, the function $\sin(\pi t/\varepsilon)/\pi t \in L^\infty$ does indeed converge to the Dirac distribution, but I do not know an easy way to show this, so I'll sketch what I'm thinking:
Suppose $f$ is a function in the Schwartz space, then first notice the integral of $f(t) \cdot \sin(t/\varepsilon)/t$ exists.