feat: add testOptionOverriding test
This commit is contained in:
parent
f49ee72328
commit
e850299b01
@ -184,6 +184,11 @@ class LoggedClass {
|
|||||||
async testService(@InjectLogger logger?: ScopedLogger) {
|
async testService(@InjectLogger logger?: ScopedLogger) {
|
||||||
this.service.service('A', logger);
|
this.service.service('A', logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@LoggedFunction({ skipCallLog: true, skipReturnLog: true })
|
||||||
|
testOptionOverriding(@InjectLogger logger?: ScopedLogger) {
|
||||||
|
logger.log("testOptionOverriding");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class LoggedMethodsClass {
|
class LoggedMethodsClass {
|
||||||
@ -400,6 +405,7 @@ class LoggedMethodsClass {
|
|||||||
// tester.testSyncLoggerRootLogging();
|
// tester.testSyncLoggerRootLogging();
|
||||||
// tester.testSyncLogging();
|
// tester.testSyncLogging();
|
||||||
// void tester.testService();
|
// void tester.testService();
|
||||||
|
// tester.testOptionOverriding();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Then run `yarn test`
|
* Then run `yarn test`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user