Activities of "mustafasezgin"

is there an event in theme.service.ts that is emitted on theme changes which I can subscribe and listen? I couldn't find one.

But maybe there is a missunderstand, if you want to catch user change the theme, you can do it with that code.

 export class AppComponent implements AfterViewInit { 
   
  constructor( private themeService:ThemeService) { } 
   
  ngAfterViewInit(): void { 
    this.themeService.selectedStyle$.subscribe((style) => { 
      alert('theme changed') 
    });  } 
 
} 

I was looking for this, thanks.

is there an event in theme.service.ts that is emitted on theme changes which I can subscribe and listen? I couldn't find one.

I'm not sure you gave me the correct answer. I tried to ask how I can **detect ** when there is a change in the theme skin.

Domain project is trying to connect to broker(RabbitMQ)

You can try to prevent it from connecting in the unit test.eg: Create a service to connecting then mock it in the unit test.

Can you explain a little more, please?

My project's DomainModule looks like below, and I configure the broker from here.

What is your previous version?

Is there an error just because of upgrading to 5.0?

You should exclude Rabbitmq from your unit tests.

Previous version was 4.4.2.

Unit Test projects have reference to Domain project and Domain project is trying to connect to broker(RabbitMQ). In the previous version, the failure of Domain project connection, did not prevent the unit tests from passing.

I did not change anything besides version update.

Showing 1 to 5 of 5 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11