Skip to content

Commit

Permalink
Merge pull request #120 from AthennaIO/develop
Browse files Browse the repository at this point in the history
update deps
  • Loading branch information
jlenon7 authored Jan 10, 2024
2 parents 041bec9 + 596e773 commit 483723f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/test",
"version": "4.18.0",
"version": "4.19.0",
"description": "The Athenna test runner. Built on top of Japa.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/exceptions/AfterEachHookException.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class AfterEachHookException extends Exception {
const hook = Color.green.bold('@AfterEach')
const classMethod = Color.yellow.bold(`${className}.${method}`)
const message = `${Color.gray.bold.bgYellow(' MESSAGE ')}\n\n${
error.message
error.message ? error.message : JSON.stringify(error, null, 2)
}`

error.message = `An exception has occurred while running the ${hook} hook in ${classMethod} method.\n\n${message}`
Expand Down
2 changes: 1 addition & 1 deletion src/exceptions/BeforeAllHookException.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class BeforeAllHookException extends Exception {
const hook = Color.green.bold('@BeforeAll')
const classMethod = Color.yellow.bold(`${className}.${method}`)
const message = `${Color.gray.bold.bgYellow(' MESSAGE ')}\n\n${
error.message
error.message ? error.message : JSON.stringify(error, null, 2)
}`

error.message = `An exception has occurred while running the ${hook} hook in ${classMethod} method.\n\n${message}`
Expand Down
2 changes: 1 addition & 1 deletion src/exceptions/BeforeEachHookException.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class BeforeEachHookException extends Exception {
const hook = Color.green.bold('@BeforeEach')
const classMethod = Color.yellow.bold(`${className}.${method}`)
const message = `${Color.gray.bold.bgYellow(' MESSAGE ')}\n\n${
error.message
error.message ? error.message : JSON.stringify(error, null, 2)
}`

error.message = `An exception has occurred while running the ${hook} hook in ${classMethod} method.\n\n${message}`
Expand Down

0 comments on commit 483723f

Please sign in to comment.