This makes a few changes to the typings in site/src/components/GlobalSnackbar/utils.test.ts to more accurately represent the types we're using. It allows us to remove from type assertion and one eslin-disable comment..