Skip to content

Commit

Permalink
patch(vest): log test object to the console on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Feb 24, 2022
1 parent 9092c0c commit e568689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vest/src/core/test/lib/registerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function registerTest(testObject: VestTest): void {
} catch (e) {
throwError(
`Unexpected error encountered during test registration.
Test Object: ${testObject}.
Test Object: ${JSON.stringify(testObject)}.
Error: ${e}.`
);
}
Expand Down

1 comment on commit e568689

@vercel
Copy link

@vercel vercel bot commented on e568689 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-next.vercel.app
vest-website.vercel.app
vest-next-ealush.vercel.app
vest-next-git-latest-ealush.vercel.app

Please sign in to comment.