feat: add testOptionOverriding test

This commit is contained in:
p-sw 2024-11-29 21:50:05 +09:00
parent f49ee72328
commit e850299b01

View File

@ -184,6 +184,11 @@ class LoggedClass {
async testService(@InjectLogger logger?: ScopedLogger) {
this.service.service('A', logger);
}
@LoggedFunction({ skipCallLog: true, skipReturnLog: true })
testOptionOverriding(@InjectLogger logger?: ScopedLogger) {
logger.log("testOptionOverriding");
}
}
class LoggedMethodsClass {
@ -400,6 +405,7 @@ class LoggedMethodsClass {
// tester.testSyncLoggerRootLogging();
// tester.testSyncLogging();
// void tester.testService();
// tester.testOptionOverriding();
/**
* Then run `yarn test`