-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
668259c
commit b8d5852
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,11 +78,13 @@ describe("utility", () => { | |
|
||
const error = new Error("error") | ||
error.stack = "stack trace" | ||
// @ts-ignore | ||
Check failure on line 81 in packages/node/vrdt-common/src/__tests__/utility.spec.ts GitHub Actions / Build and Release
|
||
logger[level]("message:", error) | ||
formattedMessage = `[2019-03-31T12:13:14.000Z ${level.toUpperCase()} - TestLog] message: stack trace` | ||
expect(logChannel[level]).toHaveBeenCalledWith(formattedMessage) | ||
|
||
error.stack = undefined | ||
// @ts-ignore | ||
Check failure on line 87 in packages/node/vrdt-common/src/__tests__/utility.spec.ts GitHub Actions / Build and Release
|
||
logger[level]("message:", error) | ||
formattedMessage = `[2019-03-31T12:13:14.000Z ${level.toUpperCase()} - TestLog] message: error` | ||
expect(logChannel[level]).toHaveBeenCalledWith(formattedMessage) | ||
|