Weak Error Estimates for Trajectories of SPDEs Under Spectral Galerkin Discretization