Fix Vue unit tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-04 20:24:43 +02:00
parent f100fce0da
commit 51106841ab
18 changed files with 283 additions and 66 deletions

View File

@@ -93,9 +93,9 @@ export default class PasswordReset extends Vue {
}
saveUserData(data.resetPassword);
await this.$router.push({ name: RouteName.HOME });
this.$router.push({ name: RouteName.HOME });
return;
} catch (err) {
console.error(err);
err.graphQLErrors.forEach(({ message }: { message: any }) => {
this.errors.push(message);
});