It can be a bit confusing with the variables in the definition of the Fourier transform of a tempered distribution. We are used to having $x$ or $t$ as variable for the plain function, and $\xi$ or $\omega$ for the transformed function, but of course we can have any variable. Below I will use $y$ for the transformed function. Hopefully it helps you see what is going on.
Let $u$ be a tempered distribution. Its Fourier transform $\hat u$ is defined by
$
\langle \hat{u}, \varphi \rangle
= \langle u, \hat\varphi \rangle
$
for all $\varphi\in\mathcal{S}.$
Abusing integral notation this means
$$
\int \left( \int u(x) e^{-ixy} \, dx \right) \varphi(y) \, dy
= \int u(x) \left( \int e^{-ixy} \varphi(y) \, dy \right) dx
.
$$
For $u(x) = e^{ix}$ this becomes
$$
\langle \mathcal{F}\{e^{ix}\}, \varphi \rangle
= \int \mathcal{F}\{e^{ix}\}(y) \, \varphi(y) \, dy
= \int \left( \int e^{ix} e^{-ixy} \, dx \right) \varphi(y) \, dy
\\
= \int e^{ix} \left( \int e^{-ixy} \varphi(y) \, dy \right) \, dx
= \int e^{ix} \mathcal{F}\{\varphi\}(x) \, dx
.
$$