-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix integration tests and load async
- Loading branch information
1 parent
53d5270
commit 6944e40
Showing
8 changed files
with
87 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
31 changes: 31 additions & 0 deletions
31
packages/framework-integration-tests/src/common/my-logger.ts
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Logger } from '@boostercloud/framework-types' | ||
|
||
export class MyLogger implements Logger { | ||
debug(message?: any, ...optionalParams: any[]): void { | ||
console.log(`[DEBUG] ${message?.toString()}`) | ||
optionalParams.forEach((param) => { | ||
console.log(`[DEBUG] ${param?.toString()}`) | ||
}) | ||
} | ||
|
||
info(message?: any, ...optionalParams: any[]): void { | ||
console.log(`[INFO] ${message?.toString()}`) | ||
optionalParams.forEach((param) => { | ||
console.log(`[INFO] ${param?.toString()}`) | ||
}) | ||
} | ||
|
||
warn(message?: any, ...optionalParams: any[]): void { | ||
console.log(`[WARN] ${message?.toString()}`) | ||
optionalParams.forEach((param) => { | ||
console.log(`[WARN] ${param?.toString()}`) | ||
}) | ||
} | ||
|
||
error(message?: any, ...optionalParams: any[]): void { | ||
console.log(`[ERROR] ${message?.toString()}`) | ||
optionalParams.forEach((param) => { | ||
console.log(`[ERROR] ${param?.toString()}`) | ||
}) | ||
} | ||
} |
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
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